From a023e7437ceb5c6a05105c950c74020e174870cd Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Mon, 15 Jun 2020 19:49:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=AB=98=E7=BA=A7=E8=A1=A8=E5=8D=95=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=B8=8D=E8=83=BD=E6=96=B0=E5=A2=9E=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/form/advancedForm/TableForm.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/form/advancedForm/TableForm.vue b/src/pages/form/advancedForm/TableForm.vue index 0bc8544..f61bb0b 100644 --- a/src/pages/form/advancedForm/TableForm.vue +++ b/src/pages/form/advancedForm/TableForm.vue @@ -76,21 +76,21 @@ const columns = [ const dataSource = [ { - key: '1', + key: 1, name: '小明', workId: '001', editable: false, department: '行政部' }, { - key: '2', + key: 2, name: '李莉', workId: '002', editable: false, department: 'IT部' }, { - key: '3', + key: 3, name: '王小帅', workId: '003', editable: false, @@ -112,7 +112,7 @@ export default { }, newMeber () { this.dataSource.push({ - key: '99', + key: this.dataSource.length + 1, name: '', workId: '', department: '',