forked from github/dataease
fix:关闭仪表板编辑界面时清空画布缓存,修复过滤组件回显问题
This commit is contained in:
parent
09d6ae7396
commit
f0447a5f92
@ -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' })
|
||||||
|
Loading…
Reference in New Issue
Block a user