mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-19 07:18:11 +00:00
fix: 修复角色详情更新失败的问题
This commit is contained in:
parent
d0504e8970
commit
408e4d10e8
@ -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