diff --git a/apps/perms/api/user_permission/tree/node_with_asset.py b/apps/perms/api/user_permission/tree/node_with_asset.py index 5469c6ed3..72080247a 100644 --- a/apps/perms/api/user_permission/tree/node_with_asset.py +++ b/apps/perms/api/user_permission/tree/node_with_asset.py @@ -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: