提交 4cb9e722 authored 作者: wangjiahao's avatar wangjiahao

fix: 新建仪表板刷新浏览器第一次不出现问题

上级 f47609fc
......@@ -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()
}
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论