diff --git a/src/views/users/Role/RoleDetail/index.vue b/src/views/users/Role/RoleDetail/index.vue index 49852febd..0e78ccc09 100644 --- a/src/views/users/Role/RoleDetail/index.vue +++ b/src/views/users/Role/RoleDetail/index.vue @@ -40,6 +40,11 @@ export default { }, canUpdate: () => { return vm.hasPermNotBuiltinNotRootOrg(this.role, `rbac.change_${scopeRole}`) + }, + updateRoute: { + name: this.$route.name.replace('Detail', 'Update'), + params: {}, + query: { scope: scope } } }, submenu: [