代码调整

This commit is contained in:
dong 2022-09-19 14:03:02 +08:00
parent 847c388fae
commit d65e004529

View File

@ -301,8 +301,8 @@ export default {
const list = []; const list = [];
this.tableData.forEach((item, index) => { this.tableData.forEach((item, index) => {
const obj = { const obj = {
...item, ...item
id: index + 1 + '' // id: index + 1 + ''
}; };
delete obj.isEdit; delete obj.isEdit;
list.push(obj); list.push(obj);