client: fix zIndex

This commit is contained in:
fantasticit 2022-06-30 21:30:31 +08:00
parent 367046942a
commit 8944b81588
3 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ export const AddUser: React.FC<IProps> = ({ onOk, children }) => {
return ( return (
<Popconfirm <Popconfirm
showArrow
zIndex={1070} zIndex={1070}
title={'添加成员'} title={'添加成员'}
okText={'邀请对方'} okText={'邀请对方'}

View File

@ -18,6 +18,8 @@ export const EditUser: React.FC<IProps> = ({ userWithAuth, updateUser, children
return ( return (
<Popconfirm <Popconfirm
showArrow
zIndex={1070}
title={`修改用户${userWithAuth && userWithAuth.user.name}权限`} title={`修改用户${userWithAuth && userWithAuth.user.name}权限`}
content={ content={
<div style={{ margin: '16px -68px 0 0' }}> <div style={{ margin: '16px -68px 0 0' }}>

View File

@ -94,6 +94,7 @@ export const Members: React.FC<IProps> = ({ id, hook, descriptions }) => {
</EditUser> </EditUser>
<Popconfirm <Popconfirm
showArrow showArrow
zIndex={1070}
title="确认删除该成员?" title="确认删除该成员?"
onConfirm={() => deleteUser({ userName: data.user.name, userAuth: data.auth.auth })} onConfirm={() => deleteUser({ userName: data.user.name, userAuth: data.auth.auth })}
> >