mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-29 19:53:26 +00:00
fix: 修复角色详情更新失败的问题
This commit is contained in:
parent
8e887ca271
commit
751b6dcbb5
@ -40,6 +40,11 @@ export default {
|
|||||||
},
|
},
|
||||||
canUpdate: () => {
|
canUpdate: () => {
|
||||||
return vm.hasPermNotBuiltinNotRootOrg(this.role, `rbac.change_${scopeRole}`)
|
return vm.hasPermNotBuiltinNotRootOrg(this.role, `rbac.change_${scopeRole}`)
|
||||||
|
},
|
||||||
|
updateRoute: {
|
||||||
|
name: this.$route.name.replace('Detail', 'Update'),
|
||||||
|
params: {},
|
||||||
|
query: { scope: scope }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
submenu: [
|
submenu: [
|
||||||
|
Loading…
Reference in New Issue
Block a user