mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-24 04:33:06 +00:00
fix: 修复更新 role perms
This commit is contained in:
@@ -120,7 +120,7 @@ export default {
|
||||
const permNodes = checkedNodes.filter(node => !node.isParent)
|
||||
const permIds = permNodes.map(node => node.id)
|
||||
|
||||
const roleDetailUrl = `/api/v1/rbac/roles/${this.object.id}/`
|
||||
const roleDetailUrl = `/api/v1/rbac/${this.object.scope}-roles/${this.object.id}/`
|
||||
const data = {
|
||||
permissions: permIds
|
||||
}
|
||||
|
Reference in New Issue
Block a user