Merge pull request #374 from dataease/pr@dev@fix_panel_edit-close

fix:关闭仪表板编辑界面时清空画布缓存,修复过滤组件回显问题
This commit is contained in:
王嘉豪 2021-07-28 13:49:36 +08:00 committed by GitHub
commit 8102e564e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +138,8 @@ export default {
methods: { methods: {
close() { close() {
//
this.clearCanvas()
this.$emit('close-left-panel') this.$emit('close-left-panel')
this.$nextTick(() => { this.$nextTick(() => {
bus.$emit('PanelSwitchComponent', { name: 'PanelMain' }) bus.$emit('PanelSwitchComponent', { name: 'PanelMain' })