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