提交 daac8796 编写于 作者: Mosher's avatar Mosher

表格更新默认值逻辑调整

上级 84297814
...@@ -2360,7 +2360,7 @@ ${gridColumn.getName()} ...@@ -2360,7 +2360,7 @@ ${gridColumn.getName()}
public gridEditItemChange(row: any, property: string, value: any, rowIndex: number){ public gridEditItemChange(row: any, property: string, value: any, rowIndex: number){
row.rowDataState = row.rowDataState ? row.rowDataState : "update" ; row.rowDataState = row.rowDataState ? row.rowDataState : "update" ;
if(Object.is(row.rowDataState,"update")){ if(Object.is(row.rowDataState,"update")){
if(!value && this.defaultUpdateItems.includes(property)){ if(this.defaultUpdateItems.includes(property)){
row.hasUpdated = true; row.hasUpdated = true;
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册