mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 15:19:25 +00:00
fix: 修复点击资产授权树勾选框报错的问题 (#1687)
* fix: 修复点击资产授权树勾选狂报错的问题 * fix: 修复点击资产授权树勾选狂报错的问题 Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
This commit is contained in:
@@ -90,7 +90,7 @@ export default {
|
||||
],
|
||||
'tickets.view_ticketflow': ['tickets.view_ticket'],
|
||||
'users.invite_user': [
|
||||
'users.match_user', 'rbac.add_orgrolebinding', 'rbac.change_orgrolebinding',
|
||||
'users.match_user', 'rbac.add_orgrolebinding',
|
||||
'rbac.view_orgrolebinding', 'rbac.view_orgrole'
|
||||
],
|
||||
'acls.loginacl': ['users.view_user'],
|
||||
@@ -269,6 +269,10 @@ export default {
|
||||
|
||||
for (const i of depsId) {
|
||||
const depNode = this.ztree.getNodeByParam('title', i)
|
||||
if (!depNode) {
|
||||
this.$log.debug(`Not found depNode for title: ${i}`)
|
||||
continue
|
||||
}
|
||||
this.ztree.checkNode(depNode, true)
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user