From c093e7d621c108d5fe54d60a35b1a10c154ff9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=80=80=E7=A3=8A=E2=80=9D?= <2280131253@qq.com> Date: Thu, 17 Feb 2022 11:28:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E5=88=9B=E5=BB=BA=E6=97=B6=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E4=BA=86=E7=82=B9=E5=87=BB=E7=9A=84=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E5=92=8C=E8=8A=82=E7=82=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改为指保留最后一次选中的资产或者节点 --- src/components/AutoDataZTree/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/AutoDataZTree/index.vue b/src/components/AutoDataZTree/index.vue index f0ff204b4..4e531f998 100644 --- a/src/components/AutoDataZTree/index.vue +++ b/src/components/AutoDataZTree/index.vue @@ -110,9 +110,11 @@ export default { this.currentNode = treeNode this.currentNodeId = treeNode.meta.data.id query['node'] = this.currentNodeId + query['asset'] = '' url = `${this.setting.url}${combinator}node_id=${treeNode.meta.data.id}&show_current_asset=${show_current_asset}` } else if (treeNode.meta.type === 'asset') { query['asset'] = treeNode.meta.data.id + query['node'] = '' url = `${this.setting.url}${combinator}asset_id=${treeNode.meta.data.id}&show_current_asset=${show_current_asset}` } this.$router.push({ query })