From bf47eaf837af3c6bbe00265972dcd55cec9032d7 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 22 十月 2024 10:27:41 +0800 Subject: [PATCH] 整合代码 --- Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue b/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue index accfede..9e71cbf 100644 --- a/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue @@ -256,20 +256,20 @@ } }) - const parentData = selectParentList.map(item => { - return { - checked: false, - expanded: true, - data:item.data, - level: item.level, - oid: item.oid, - text: item.text - } - }) - // 鍦ㄥ崐閫夌姸鎬佷腑杩囨护鎺夐《绾ц妭鐐� oid 涓� root - const filterSelectTreeData = parentData.filter(item => item.oid !== 'root'); + // const parentData = selectParentList.map(item => { + // return { + // checked: false, + // expanded: true, + // data:item.data, + // level: item.level, + // oid: item.oid, + // text: item.text + // } + // }) + // // 鍦ㄥ崐閫夌姸鎬佷腑杩囨护鎺夐《绾ц妭鐐� oid 涓� root + // const filterSelectTreeData = parentData.filter(item => item.oid !== 'root'); - const data = [...filterSelectTreeData,...selectTreeData]; + const data = [...selectTreeData]; const formData = { roleId: this.nodeRow.oid, type: this.type, -- Gitblit v1.9.3