-
Notifications
You must be signed in to change notification settings - Fork 605
[table] updateEditedCellValue方法不会触发@row-edit #5193
Copy link
Copy link
Open
Description
tdesign-vue-next 版本
1.11.3
重现链接
No response
重现步骤
例如:
<t-table @row-edit="onRowEdit">
columns配置中的一项为:
{
colKey: 'column1',
edit: {
on: ({
updateEditedCellValue
}) => ({
onChange: (e) => {
if (e.editedRow.column1 == "custom") {
updateEditedCellValue({
isUpdateCurrentRow: true,
column2: "someValue"
});
}
},
}),
}
}
column1的变化会触发@row-edit
编辑行的column2可以正确赋值,但不会触发@row-edit
期望结果
updateEditedCellValue可以触发@row-edit事件
实际结果
No response
框架版本
3.2.31
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels