From a899eae792897cb014b9291562f32f5786cfb1f4 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 16 一月 2025 15:51:13 +0800 Subject: [PATCH] UI授权后,由于一个用户拥有多个角色问题,没有权限的角色可能会把有权限的角色数据替换,进行修改 --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue index 90313c3..475998f 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-tree.vue @@ -250,9 +250,9 @@ || (node.data.attributes && node.data.attributes.btmname) || ''; const params = this.params; - let url='';debugger; - if(this.componentVO.bsCustQueryCLsOrUrl && this.componentVO.bsCustQueryCLsOrUrl.indexOf('/')!=-1){ - url=this.componentVO.bsCustQueryCLsOrUrl; + let url=''; + if(this.componentVO.bsDataModel && this.componentVO.bsDataModel.indexOf('/')!=-1){ + url=this.componentVO.bsDataModel; } if (node.level === 0) { params.queryRoot = true; -- Gitblit v1.9.3