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