mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-07 19:50:33 +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:
@@ -84,6 +84,7 @@ export const CropperDiv = (props) => {
|
|||||||
{buttonText}
|
{buttonText}
|
||||||
</Button>
|
</Button>
|
||||||
<Modal
|
<Modal
|
||||||
|
maskClosable={false}
|
||||||
title={title}
|
title={title}
|
||||||
visible={visible}
|
visible={visible}
|
||||||
okText={i18next.t("user:Upload a photo")}
|
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...")}
|
{ hasOldPassword ? i18next.t("user:Modify password...") : i18next.t("user:Set password...")}
|
||||||
</Button>
|
</Button>
|
||||||
<Modal
|
<Modal
|
||||||
|
maskClosable={false}
|
||||||
title={i18next.t("user:Password")}
|
title={i18next.t("user:Password")}
|
||||||
visible={visible}
|
visible={visible}
|
||||||
okText={i18next.t("user:Set Password")}
|
okText={i18next.t("user:Set Password")}
|
||||||
|
@@ -65,6 +65,7 @@ export const ResetModal = (props) => {
|
|||||||
{buttonText}
|
{buttonText}
|
||||||
</Button>
|
</Button>
|
||||||
<Modal
|
<Modal
|
||||||
|
maskClosable={false}
|
||||||
title={buttonText}
|
title={buttonText}
|
||||||
visible={visible}
|
visible={visible}
|
||||||
okText={buttonText}
|
okText={buttonText}
|
||||||
|
Reference in New Issue
Block a user