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() - }, + } } }