From 5f78cb788c1d21397cbf3137196477797b16562a Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Wed, 29 Dec 2021 11:58:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E6=97=B6=E9=92=9F?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=97=B6=E9=97=B4=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/chart/otherChartConfig.vue | 4 ++-- .../src/components/common/rightBox/chart/publicConfig.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue index f3e14e219..914b64dde 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue @@ -217,7 +217,6 @@ export default { this.chartConfig = JSON.parse(JSON.stringify(this.params)) }, chartTypeChange (type) { - console.log(type) switch (type) { case 'group': this.chartConfig.span = 12 @@ -246,7 +245,8 @@ export default { break case 'clock': this.chartConfig.param = { - timeType: this.chartConfig.param.timeType + link: this.chartConfig.param.link, + timeType: 'local' } break } diff --git a/nezha-fronted/src/components/common/rightBox/chart/publicConfig.js b/nezha-fronted/src/components/common/rightBox/chart/publicConfig.js index 26b0d60f5..2c8da83c3 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/publicConfig.js +++ b/nezha-fronted/src/components/common/rightBox/chart/publicConfig.js @@ -429,6 +429,6 @@ export default { break; } this.change() - }, + } } }