From 52373e01c84ff4c2cefc83554afe2fe56f009642 Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 13 May 2021 17:41:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=95=B0=E6=8D=AE=E9=9B=86):=E8=87=AA?= =?UTF-8?q?=E5=8A=A9=E6=95=B0=E6=8D=AE=E9=9B=86=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/dataset/add/AddCustom.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/dataset/add/AddCustom.vue b/frontend/src/views/dataset/add/AddCustom.vue index 2a8fc2a3d9..6ba3524230 100644 --- a/frontend/src/views/dataset/add/AddCustom.vue +++ b/frontend/src/views/dataset/add/AddCustom.vue @@ -213,8 +213,12 @@ export default { }, cancel() { - this.dataReset() - this.$emit('switchComponent', { name: '' }) + // this.dataReset() + if (this.param.tableId) { + this.$emit('switchComponent', { name: 'ViewTable', param: this.param.tableId }) + } else { + this.$emit('switchComponent', { name: '' }) + } }, dataReset() {