mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-08 21:04:19 +00:00
fix bug
This commit is contained in:
parent
8c900edef6
commit
749c2cdbd6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue