修复修改密码取消后没有catch的问题

This commit is contained in:
Jerry
2024-08-16 10:18:48 +08:00
parent d39f8a6875
commit 6af5c03650
3 changed files with 5 additions and 4 deletions

View File

@@ -96,8 +96,7 @@ const handlerEditOperate = (row: ANY_OBJECT | null, res: ANY_OBJECT) => {
} else {
console.log('更新记录', res, props, tableWidget);
// 更新记录
// TODO 为什么这里要重新赋值
//row = res[props.widget.relation.variableName];
row = res[props.widget.relation.variableName];
onTableDataListChange(
tableWidget.dataList.map((item: ANY_OBJECT) => {
if (row != null && row.__cascade_add_id__ != null) {