diff --git a/src/components/scFormTable/index.vue b/src/components/scFormTable/index.vue index 16fa394b..2392c2b0 100644 --- a/src/components/scFormTable/index.vue +++ b/src/components/scFormTable/index.vue @@ -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)