From f7132e9e71e846c4d4cb008aed23334b1358eee0 Mon Sep 17 00:00:00 2001 From: junjie Date: Tue, 27 Jul 2021 19:19:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E9=9B=86=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E9=A1=B5=E9=9D=A2=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/dataset/add/AddExcel.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/dataset/add/AddExcel.vue b/frontend/src/views/dataset/add/AddExcel.vue index 55f99bdff2..c7aee57a3e 100644 --- a/frontend/src/views/dataset/add/AddExcel.vue +++ b/frontend/src/views/dataset/add/AddExcel.vue @@ -258,7 +258,7 @@ export default { type: 'excel', mode: parseInt(this.mode), // info: '{"data":"' + this.path + '"}', - info: JSON.stringify({ data: this.path, sheets: [this.sheets[0]]}), + info: JSON.stringify({ data: this.path, sheets: [this.sheets[0]] }), fields: this.fields } } else { @@ -285,7 +285,7 @@ export default { this.dataReset() // this.$router.push('/dataset/home') if (this.param.tableId) { - this.$emit('switchComponent', { name: 'ViewTable', param: { id: this.param.tableId }}) + this.$emit('switchComponent', { name: 'ViewTable', param: this.param.table }) } else { this.$emit('switchComponent', { name: '' }) }