This commit is contained in:
Silent YANG 2024-06-15 11:58:44 +08:00
parent 8c900edef6
commit 749c2cdbd6

View file

@ -133,7 +133,7 @@
clearable: true clearable: true
}, },
onEdited: (context: any) => { onEdited: (context: any) => {
context.newRowData.mdcid = context.newRowData.mdcid ? context.newRowData.mdcid : undefined context.newRowData.mdcid = context.newRowData.mdcid ? context.newRowData.mdcid.toLowerCase() : undefined
const newData = [...cstate.renderData]; const newData = [...cstate.renderData];
newData.splice((cstate.nowPage - 1) * cstate.pageSize + context.rowIndex, 1, context.newRowData); newData.splice((cstate.nowPage - 1) * cstate.pageSize + context.rowIndex, 1, context.newRowData);
cstate.renderData = newData; cstate.renderData = newData;