forked from github/dataease
fix(仪表板): 修复仪表板编辑保存后返回预览界面没有加载该页面问题
This commit is contained in:
parent
625cfd9693
commit
4cd6bf97af
@ -662,7 +662,7 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
// 切换展示页面后 重新点击一下当前节点
|
// 切换展示页面后 重新点击一下当前节点
|
||||||
'$store.panel.mainActiveName': function(newVal, oldVal) {
|
'$store.state.panel.mainActiveName': function(newVal, oldVal) {
|
||||||
if (newVal === 'PanelMain' && this.lastActiveNodeData) {
|
if (newVal === 'PanelMain' && this.lastActiveNodeData) {
|
||||||
this.activeNodeAndClickOnly(this.lastActiveNodeData)
|
this.activeNodeAndClickOnly(this.lastActiveNodeData)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user