fix: 补充时钟默认时间类型

This commit is contained in:
@changcode
2021-12-29 11:58:09 +08:00
parent 3ca38c116c
commit 5f78cb788c
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}