fix:表单table新增后添加触发函数
This commit is contained in:
parent
5c9bded384
commit
31cee8b901
|
@ -99,7 +99,8 @@
|
|||
},
|
||||
rowAdd(){
|
||||
const temp = JSON.parse(JSON.stringify(this.addTemplate))
|
||||
this.data.push(temp)
|
||||
this.data.push(temp);
|
||||
this.$emit('add', temp)
|
||||
},
|
||||
rowDel(row, index){
|
||||
this.data.splice(index, 1)
|
||||
|
|
Loading…
Reference in New Issue