fix: 修复角色详情更新失败的问题

This commit is contained in:
Jiangjie.Bai 2022-03-15 14:49:51 +08:00 committed by Jiangjie.Bai
parent d0504e8970
commit 408e4d10e8

View File

@ -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: [