[Update] 用户授权资产树进行排序

pull/2885/head
BaiJiangJie 5 years ago
parent 64e1e6191b
commit c52ea089da

@ -270,6 +270,7 @@ class UserGrantedNodesWithAssetsAsTreeApi(UserPermissionCacheMixin, ListAPIView)
for asset, system_users in assets.items():
data = parse_asset_to_tree_node(node, asset, system_users)
queryset.append(data)
queryset = sorted(queryset)
return queryset

Loading…
Cancel
Save