From bc0a50f10655c97df67d4d5043e4b03a0a8bddb8 Mon Sep 17 00:00:00 2001 From: deartibers <947466799@qq.com> Date: Fri, 16 Sep 2022 12:25:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/install/containers/roles.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/install/containers/roles.jsx b/web/client/src/sections/install/containers/roles.jsx index 1688a12..71333b5 100644 --- a/web/client/src/sections/install/containers/roles.jsx +++ b/web/client/src/sections/install/containers/roles.jsx @@ -211,7 +211,9 @@ const Roles = (props) => { theme="borderless" style={{ color: '#F31C1C' }} onClick={() => { - dispatch(install.putOrganizationUser({ pomsUserId: row?.id, disabled: !row?.disabled,msg:'更新成员状态' })).then(() => getUserList()) + dispatch(install.putOrganizationUser({ pomsUserId: row?.id, disabled: !row?.disabled,msg:'更新成员状态' })).then(() => { + setQuery({ limit: 10, page: page.current }) + }) }} > 已禁用 @@ -224,7 +226,7 @@ const Roles = (props) => { position="topRight" onConfirm={() => { dispatch(install.putOrganizationUser({ pomsUserId: row?.id, disabled: !row?.disabled,msg:'更新成员状态' })).then(() => { - getUserList(); + setQuery({ limit: 10, page: page.current }) }) }} >