Merge pull request #3797 from dataease/pr@dev@refactor_refresh-clear-linkage

refactor(仪表板): 仪表板自动刷新时清理联动条件
This commit is contained in:
fit2cloud-chenyw 2022-11-18 17:15:19 +08:00 committed by GitHub
commit 502cdabd1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -501,10 +501,15 @@ export default {
}
}
this.timer = setInterval(() => {
this.clearAllLinkage()
this.searchCount++
}, refreshTime)
}
},
clearAllLinkage() {
this.$store.commit('clearPanelLinkageInfo')
bus.$emit('clear_panel_linkage', { viewId: 'all' })
},
changeStyleWithScale,
getStyle,
restore() {