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..72fc7a80 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" >