Skip to content

table customrow 文章描述错误 #2961

@luo-geng

Description

@luo-geng
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

table customrow 使用说明,文档描述错误

What does the proposed API look like?

文档描述错误

customRow={(record) => {
return {
props: {
xxx... //属性
},
on: { // 事件
click: (event) => {},       // 点击行
dblclick: (event) => {},
contextmenu: (event) => {},
mouseenter: (event) => {},  // 鼠标移入行
mouseleave: (event) => {}
},

};

应是

customRow={record => {
return {
onclick() {
console.log(record);
},
onmouseenter:()=>  console.log(record) // 鼠标移入行
};

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions