From 6903d30de0ba5d5b5646313f97e4de1cc74ee398 Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 22 Jul 2021 18:23:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E9=9B=86=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=97=AE=E9=A2=98=E5=AF=BC=E8=87=B4=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 5265fc7905..a47603a0a3 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -709,6 +709,19 @@ export default { this.httpRequest.msg = err.response.data.message return true }) + } else { + post('/dataset/table/getFieldsFromDE', { id: id }).then(response => { + this.dimension = response.data.dimension + this.quota = response.data.quota + this.dimensionData = JSON.parse(JSON.stringify(this.dimension)) + this.quotaData = JSON.parse(JSON.stringify(this.quota)) + this.fieldFilter(this.searchField) + }).catch(err => { + this.resetView() + this.httpRequest.status = err.response.data.success + this.httpRequest.msg = err.response.data.message + return true + }) } }, save(getData, trigger, needRefreshGroup = false) {