巴林闲侠 2 years ago
parent
commit
2b37be76ee
  1. 6
      web/client/src/sections/install/containers/roles.jsx

6
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 })
})
}}
>

Loading…
Cancel
Save