From 31cee8b90107dd99a370ef70b46417492a8151cd Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 13 May 2025 13:41:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=A1=A8=E5=8D=95table=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=90=8E=E6=B7=BB=E5=8A=A0=E8=A7=A6=E5=8F=91=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scFormTable/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)