fix: 新建仪表板刷新浏览器第一次不出现问题
This commit is contained in:
parent
f47609fce5
commit
4cb9e722a5
@ -392,6 +392,7 @@ export default {
|
||||
this.editPanel.visible = false
|
||||
if (panelInfo) {
|
||||
this.defaultTree()
|
||||
this.tree()
|
||||
// 默认展开 同时点击 新增的节点
|
||||
if (panelInfo && panelInfo.panelType === 'self' && this.lastActiveNodeData.id) {
|
||||
if (this.editPanel.optType === 'rename') {
|
||||
@ -409,8 +410,6 @@ export default {
|
||||
this.lastActiveNode.expanded = true
|
||||
}
|
||||
this.activeNodeAndClick(panelInfo)
|
||||
} else {
|
||||
this.tree()
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user