mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 07:27:35 +00:00
perf: 类型树右击可以获取节点下所有的资产
This commit is contained in:
@@ -188,6 +188,8 @@ class UserPermedNodeChildrenWithAssetsAsCategoryTreeApi(
|
||||
_type = meta.get('_type')
|
||||
if _type:
|
||||
node['type'] = _type
|
||||
meta.setdefault('data', {})
|
||||
node['meta'] = meta
|
||||
nodes.append(node)
|
||||
|
||||
if not self.is_sync:
|
||||
|
Reference in New Issue
Block a user