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