diff --git a/apps/client/views.py b/apps/client/views.py index d97bfde..1dbf19c 100644 --- a/apps/client/views.py +++ b/apps/client/views.py @@ -223,7 +223,8 @@ def set_client_drawer_power(): EntityClientCellUser.user_id==i.user_id ) ) - set_drawer_info.pop(i.user_id) + # set_drawer_info.pop(i.user_id) + del set_drawer_info[i.user_id] # cell_user_obj.session.commit() # 筛选出需要添加的用户 drawer_add_user_list = []