NEZ-3142 fix:新建图表引用dashboard变量选择多个值后点击刷新按钮,group重复显示

This commit is contained in:
zhangyu
2023-08-25 15:01:41 +08:00
parent 42748b5c85
commit c9d682e038
18 changed files with 4 additions and 34 deletions

View File

@@ -226,7 +226,6 @@ export default {
if (timePickerLocked) {
const timePickerRange = localStorage.getItem('nz-time-picker-range') ? JSON.parse(localStorage.getItem('nz-time-picker-range')) : {}
this.$store.dispatch('dispatchTimePickerRange', timePickerRange)
console.log('mounted', timePickerRange, this.timePickerLocked)
}
this.$store.dispatch('dispatchTimePickerLocked', timePickerLocked)
},
@@ -353,7 +352,6 @@ export default {
localStorage.setItem('nz-time-picker-locked', JSON.stringify(this.timePickerLocked))
this.$store.dispatch('dispatchTimePickerLocked', this.timePickerLocked)
if (this.timePickerLocked) {
console.log(this.searchTime, this.nowTimeType)
this.$store.dispatch('dispatchTimePickerRange', {
time: this.searchTime,
nowTimeType: this.nowTimeType