mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 07:09:27 +08:00
部分弹窗点击遮罩才能删除
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user