mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
fix: unable to close the modal by clicking the inner layer
Signed-off-by: wasabi <690898835@qq.com>
This commit is contained in:
parent
222b00f0a8
commit
35443f82c6
@ -84,6 +84,7 @@ export const CropperDiv = (props) => {
|
||||
{buttonText}
|
||||
</Button>
|
||||
<Modal
|
||||
maskClosable={false}
|
||||
title={title}
|
||||
visible={visible}
|
||||
okText={i18next.t("user:Upload a photo")}
|
||||
|
@ -62,6 +62,7 @@ export const PasswordModal = (props) => {
|
||||
{ hasOldPassword ? i18next.t("user:Modify password...") : i18next.t("user:Set password...")}
|
||||
</Button>
|
||||
<Modal
|
||||
maskClosable={false}
|
||||
title={i18next.t("user:Password")}
|
||||
visible={visible}
|
||||
okText={i18next.t("user:Set Password")}
|
||||
|
@ -65,6 +65,7 @@ export const ResetModal = (props) => {
|
||||
{buttonText}
|
||||
</Button>
|
||||
<Modal
|
||||
maskClosable={false}
|
||||
title={buttonText}
|
||||
visible={visible}
|
||||
okText={buttonText}
|
||||
|
Loading…
x
Reference in New Issue
Block a user