From e73d004fd82f7d91baa9f21168eeb018712c7ad5 Mon Sep 17 00:00:00 2001 From: junjie Date: Fri, 23 Jul 2021 10:44:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=86=E5=9B=BE=E4=B8=AD=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86=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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index e34e9b7b81..b15cd391dc 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -710,7 +710,7 @@ export default { return true }) } else { - this.resetView() + this.resetDatasetField() } }, save(getData, trigger, needRefreshGroup = false) { @@ -1190,11 +1190,14 @@ export default { hideTab() { this.tabStatus = false }, - resetView() { + resetDatasetField() { this.dimension = [] this.dimensionData = [] this.quota = [] this.quotaData = [] + }, + resetView() { + this.resetDatasetField() this.view = { xAxis: [], yAxis: [],