From 18d950d63fc1cad34ef9c52d261e6f5161aadc32 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Thu, 30 Mar 2023 11:32:15 +0800 Subject: [PATCH 1/2] fix: bug#10777 11128 11212 --- src/views/init-home/data/baseMenu.ts | 11 +---------- .../system/Role/Detail/components/PermissTree.vue | 11 ++++++----- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/src/views/init-home/data/baseMenu.ts b/src/views/init-home/data/baseMenu.ts index f8635ef7..0bbfc653 100644 --- a/src/views/init-home/data/baseMenu.ts +++ b/src/views/init-home/data/baseMenu.ts @@ -1366,16 +1366,7 @@ export default [ }, ], }, - { - id: 'action', - name: '启/禁用', - permissions: [ - { - permission: 'firmware-upgrade-task-manager', - actions: ['save'], - } - ], - }, + ], accessSupport: { text: "间接支持", value: "indirect" }, supportDataAccess: false, diff --git a/src/views/system/Role/Detail/components/PermissTree.vue b/src/views/system/Role/Detail/components/PermissTree.vue index c2eb811b..bf25cf37 100644 --- a/src/views/system/Role/Detail/components/PermissTree.vue +++ b/src/views/system/Role/Detail/components/PermissTree.vue @@ -6,6 +6,7 @@ :pagination="false" :rowKey="'id'" :scroll="{ y: '500px' }" + ref="treeRef" >