perf: 类型树右击可以获取节点下所有的资产

pull/11213/head
jiangweidong 2023-08-07 12:11:35 +08:00 committed by Bryan
parent 49662b308d
commit 38803518fc
1 changed files with 2 additions and 0 deletions

View File

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