-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.16
Environment
3.2.16
Reproduction link
Steps to reproduce
- a-table提供
:components={body:{cell:TdCell}}
const TdCell = (props) => {
// onMouseEnter, onMouseLeave在数据量多的时候,会严重阻塞表格单元格渲染,严重影响性能
const { onMouseEnter, onMouseLeave, ...restProps } = props;
console.log(restProps)
return h('td',{...restProps}) // return <td {...restProps} />;
}
- 表格单元格不显示,尝试过ant-design覆盖td, 可以显示单元格
What is expected?
使用:components={body:{cell:TdCell}}覆盖后可以显示表格单元格
What is actually happening?
没有显示单元格