FIX scFormTable 新增复杂结构行时数据混乱
This commit is contained in:
parent
865e74f6aa
commit
4413dc17b2
|
@ -79,7 +79,8 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
rowAdd(){
|
rowAdd(){
|
||||||
this.data.push({...this.addTemplate})
|
const temp = JSON.parse(JSON.stringify(this.addTemplate))
|
||||||
|
this.data.push(temp)
|
||||||
},
|
},
|
||||||
rowDel(row, index){
|
rowDel(row, index){
|
||||||
this.data.splice(index, 1)
|
this.data.splice(index, 1)
|
||||||
|
|
Loading…
Reference in New Issue