fix:explore 去除时间锁定 以及 dashboard 时间锁定优化

This commit is contained in:
zhangyu
2023-07-20 17:03:55 +08:00
parent cf53f4f7d3
commit 7ebddf4905
4 changed files with 57 additions and 13 deletions

View File

@@ -868,7 +868,7 @@ export default {
})
},
setTimePickerRange () {
if (!this.timePickerRange.nowTimeType) {
if (!this.timePickerLocked || !this.timePickerRange.nowTimeType) {
this.setDefaultTimeRange()
}
const nowTimeType = this.nowTimeType = this.timePickerRange.nowTimeType