pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG]可左右滚动的protable,自定义header有问题

Open liuxing133 opened this issue 1 year ago • 0 comments

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

可左右滚动的protable,自定义header有问题 eee

📷 复现步骤

🏞 期望结果

💻 复现代码

components={{ header: { wrapper: CustomHeader, } }} const CustomHeader = () => {

return (
  <thead>
    <tr>
      {columns.map((column) => (
        <th key={column.key} style={{ backgroundColor: '#F7FAFF', height: '50px', textAlign: 'left', padding: '10px' }}>
          {column.title}
        </th>
      ))}
    </tr>
  </thead>
);

};

© 版本信息

  • ProComponents 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

image

liuxing133 avatar Feb 07 '24 03:02 liuxing133