From 1b84a05dd84e535284ac6e2d2b360d76a4b8e7ac Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期二, 17 十二月 2024 16:11:30 +0800 Subject: [PATCH] 查询模板&&功能权限模块添加按钮权限 --- Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue b/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue index 170ffa4..1d0f1ee 100644 --- a/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue +++ b/Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue @@ -125,6 +125,10 @@ } }, open(item) { + const query = { + ...item.query, + id:item.id + } if (this.screen <= 1) this.$store.commit("SET_COLLAPSE"); if (this.validIsOpen(item)) { window.open(item[this.pathKey]); @@ -136,7 +140,7 @@ name: item[this.labelKey], src: item[this.pathKey] }, item.meta), - query: item.query + query: query }); } } -- Gitblit v1.9.3