Browse Source

fix(perms): 修复我的资产页面问题

pull/5067/head
ibuler 4 years ago committed by Jiangjie.Bai
parent
commit
7be7c8cee1
  1. 2
      apps/perms/urls/asset_permission.py

2
apps/perms/urls/asset_permission.py

@ -21,7 +21,7 @@ user_permission_urlpatterns = [
# ---------------------------------------------------------
# 以 serializer 格式返回
path('<uuid:pk>/assets/', api.UserAllGrantedAssetsApi.as_view(), name='user-assets'),
path('assets/', api.MyAllAssetsAsTreeApi.as_view(), name='my-assets'),
path('assets/', api.MyAllGrantedAssetsApi.as_view(), name='my-assets'),
# Tree Node 的数据格式返回
path('<uuid:pk>/assets/tree/', api.UserDirectGrantedAssetsAsTreeForAdminApi.as_view(), name='user-assets-as-tree'),

Loading…
Cancel
Save