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 })