From 4cb9e722a59e729421627292c1205338f875dd84 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 28 Dec 2021 17:03:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=BB=BA=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E5=88=B7=E6=96=B0=E6=B5=8F=E8=A7=88=E5=99=A8=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E4=B8=8D=E5=87=BA=E7=8E=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/list/PanelList.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/views/panel/list/PanelList.vue b/frontend/src/views/panel/list/PanelList.vue index 1af58c1307..35a1a27b6e 100644 --- a/frontend/src/views/panel/list/PanelList.vue +++ b/frontend/src/views/panel/list/PanelList.vue @@ -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() } } },