From 8403c907f9973e52d660788f33154d77a89b3bc9 Mon Sep 17 00:00:00 2001 From: 13507605001 Date: Mon, 5 Dec 2022 09:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8A=BD=E5=B1=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/client/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = []