mirror of
https://github.com/PlayEdu/backend
synced 2025-07-18 01:07:35 +08:00
部分弹窗点击遮罩才能删除
This commit is contained in:
parent
26235468dc
commit
df5d31c976
@ -63,6 +63,7 @@ export const UploadImageSub = (props: PropsInterface) => {
|
||||
props.onUpdate();
|
||||
setShowModal(false);
|
||||
}}
|
||||
maskClosable={false}
|
||||
>
|
||||
<Dragger {...uploadProps}>
|
||||
<p className="ant-upload-drag-icon">
|
||||
|
@ -104,6 +104,7 @@ export const DepartmentCreate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
@ -138,6 +138,7 @@ export const DepartmentUpdate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
@ -100,6 +100,7 @@ export const ResourceCategoryCreate: React.FC<PropInterface> = ({
|
||||
title="新建分类"
|
||||
centered
|
||||
forceRender
|
||||
maskClosable={false}
|
||||
open={open}
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
|
@ -136,6 +136,7 @@ export const ResourceCategoryUpdate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
@ -138,7 +138,6 @@ export const ResourceCategoryPage: React.FC = () => {
|
||||
content: "确认删除此分类?",
|
||||
centered: true,
|
||||
okText: "确认",
|
||||
okType: "danger",
|
||||
cancelText: "取消",
|
||||
onOk() {
|
||||
resourceCategory.destroyResourceCategory(id).then((res: any) => {
|
||||
|
@ -83,6 +83,7 @@ export const SystemAdministratorCreate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
@ -101,6 +101,7 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
@ -82,6 +82,7 @@ export const SystemAdminrolesCreate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
@ -94,6 +94,7 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
||||
width={416}
|
||||
onOk={() => form.submit()}
|
||||
onCancel={() => onCancel()}
|
||||
maskClosable={false}
|
||||
>
|
||||
<div className="float-left mt-24">
|
||||
<Form
|
||||
|
Loading…
x
Reference in New Issue
Block a user