mirror of
https://github.com/PlayEdu/backend
synced 2025-06-08 12:44:09 +08:00
各编辑页面增加loading
This commit is contained in:
parent
dbe3671901
commit
e35700684d
@ -7,9 +7,9 @@ import {
|
|||||||
Form,
|
Form,
|
||||||
TreeSelect,
|
TreeSelect,
|
||||||
Input,
|
Input,
|
||||||
Modal,
|
|
||||||
message,
|
message,
|
||||||
Image,
|
Image,
|
||||||
|
Spin,
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import styles from "./update.module.less";
|
import styles from "./update.module.less";
|
||||||
import { useSelector } from "react-redux";
|
import { useSelector } from "react-redux";
|
||||||
@ -28,6 +28,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel,
|
onCancel,
|
||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const courseDefaultThumbs = useSelector(
|
const courseDefaultThumbs = useSelector(
|
||||||
(state: any) => state.systemConfig.value.courseDefaultThumbs
|
(state: any) => state.systemConfig.value.courseDefaultThumbs
|
||||||
);
|
);
|
||||||
@ -41,18 +42,16 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
|||||||
const [type, setType] = useState<string>("open");
|
const [type, setType] = useState<string>("open");
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (open) {
|
setInit(true);
|
||||||
getParams();
|
|
||||||
getCategory();
|
|
||||||
}
|
|
||||||
}, [form, open]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (id === 0) {
|
if (id === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
getDetail();
|
if (open) {
|
||||||
}, [id, open]);
|
getParams();
|
||||||
|
getCategory();
|
||||||
|
getDetail();
|
||||||
|
}
|
||||||
|
}, [form, id, open]);
|
||||||
|
|
||||||
const getCategory = () => {
|
const getCategory = () => {
|
||||||
course.createCourse().then((res: any) => {
|
course.createCourse().then((res: any) => {
|
||||||
@ -91,6 +90,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
|||||||
});
|
});
|
||||||
setType(type);
|
setType(type);
|
||||||
setThumb(res.data.course.thumb);
|
setThumb(res.data.course.thumb);
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -185,7 +185,15 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
|||||||
}
|
}
|
||||||
width={634}
|
width={634}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="update-basic"
|
name="update-basic"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useRef, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Modal, Form, Input, Cascader, message } from "antd";
|
import { Modal, Form, Input, Cascader, message, Spin } from "antd";
|
||||||
import styles from "./update.module.less";
|
import styles from "./update.module.less";
|
||||||
import { department } from "../../../api/index";
|
import { department } from "../../../api/index";
|
||||||
|
|
||||||
@ -21,12 +21,14 @@ export const DepartmentUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel,
|
onCancel,
|
||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
const [departments, setDepartments] = useState<any>([]);
|
const [departments, setDepartments] = useState<any>([]);
|
||||||
const [parent_id, setParentId] = useState<number>(0);
|
const [parent_id, setParentId] = useState<number>(0);
|
||||||
const [sort, setSort] = useState<number>(0);
|
const [sort, setSort] = useState<number>(0);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (open) {
|
if (open) {
|
||||||
getParams();
|
getParams();
|
||||||
}
|
}
|
||||||
@ -64,6 +66,7 @@ export const DepartmentUpdate: React.FC<PropInterface> = ({
|
|||||||
});
|
});
|
||||||
setParentId(data.parent_id);
|
setParentId(data.parent_id);
|
||||||
setSort(data.sort);
|
setSort(data.sort);
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -140,7 +143,15 @@ export const DepartmentUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="basic"
|
name="basic"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Modal, Form, TreeSelect, Input, message } from "antd";
|
import { Modal, Form, TreeSelect, Input, message, Spin } from "antd";
|
||||||
import styles from "./update.module.less";
|
import styles from "./update.module.less";
|
||||||
import { useSelector } from "react-redux";
|
import { useSelector } from "react-redux";
|
||||||
import { user, department } from "../../../api/index";
|
import { user, department } from "../../../api/index";
|
||||||
@ -24,6 +24,7 @@ export const MemberUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel,
|
onCancel,
|
||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
const [departments, setDepartments] = useState<any>([]);
|
const [departments, setDepartments] = useState<any>([]);
|
||||||
const memberDefaultAvatar = useSelector(
|
const memberDefaultAvatar = useSelector(
|
||||||
@ -32,20 +33,18 @@ export const MemberUpdate: React.FC<PropInterface> = ({
|
|||||||
const [avatar, setAvatar] = useState<string>(memberDefaultAvatar);
|
const [avatar, setAvatar] = useState<string>(memberDefaultAvatar);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (id == 0) {
|
if (id == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
getDetail();
|
|
||||||
}, [id, open]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (open) {
|
if (open) {
|
||||||
getParams();
|
getParams();
|
||||||
form.setFieldsValue({
|
form.setFieldsValue({
|
||||||
password: "",
|
password: "",
|
||||||
});
|
});
|
||||||
|
getDetail();
|
||||||
}
|
}
|
||||||
}, [form, open]);
|
}, [form, id, open]);
|
||||||
|
|
||||||
const getParams = () => {
|
const getParams = () => {
|
||||||
if (id === 0) {
|
if (id === 0) {
|
||||||
@ -71,6 +70,7 @@ export const MemberUpdate: React.FC<PropInterface> = ({
|
|||||||
idCard: user.id_card,
|
idCard: user.id_card,
|
||||||
dep_ids: res.data.dep_ids,
|
dep_ids: res.data.dep_ids,
|
||||||
});
|
});
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -145,7 +145,15 @@ export const MemberUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="update-basic"
|
name="update-basic"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Modal, Form, Input, message, TreeSelect } from "antd";
|
import { Modal, Form, Input, message, TreeSelect, Spin } from "antd";
|
||||||
import { resource, resourceCategory } from "../../../../../api/index";
|
import { resource, resourceCategory } from "../../../../../api/index";
|
||||||
|
|
||||||
interface PropInterface {
|
interface PropInterface {
|
||||||
@ -17,9 +17,11 @@ export const CoursewareUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [categories, setCategories] = useState<any>([]);
|
const [categories, setCategories] = useState<any>([]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (id === 0) {
|
if (id === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -27,7 +29,7 @@ export const CoursewareUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
getCategory();
|
getCategory();
|
||||||
getDetail();
|
getDetail();
|
||||||
}
|
}
|
||||||
}, [id, open]);
|
}, [form, id, open]);
|
||||||
|
|
||||||
const getCategory = () => {
|
const getCategory = () => {
|
||||||
resourceCategory.resourceCategoryList().then((res: any) => {
|
resourceCategory.resourceCategoryList().then((res: any) => {
|
||||||
@ -46,6 +48,7 @@ export const CoursewareUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
name: data.name,
|
name: data.name,
|
||||||
category_id: res.data.category_ids,
|
category_id: res.data.category_ids,
|
||||||
});
|
});
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -107,7 +110,15 @@ export const CoursewareUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="videos-update"
|
name="videos-update"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useRef, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Modal, Form, Input, Cascader, message } from "antd";
|
import { Modal, Form, Input, Cascader, message, Spin } from "antd";
|
||||||
import styles from "./update.module.less";
|
import styles from "./update.module.less";
|
||||||
import { resourceCategory } from "../../../../api/index";
|
import { resourceCategory } from "../../../../api/index";
|
||||||
|
|
||||||
@ -21,12 +21,14 @@ export const ResourceCategoryUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel,
|
onCancel,
|
||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
const [categories, setCategories] = useState<any>([]);
|
const [categories, setCategories] = useState<any>([]);
|
||||||
const [parent_id, setParentId] = useState<number>(0);
|
const [parent_id, setParentId] = useState<number>(0);
|
||||||
const [sort, setSort] = useState<number>(0);
|
const [sort, setSort] = useState<number>(0);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (open) {
|
if (open) {
|
||||||
getParams();
|
getParams();
|
||||||
}
|
}
|
||||||
@ -64,6 +66,7 @@ export const ResourceCategoryUpdate: React.FC<PropInterface> = ({
|
|||||||
});
|
});
|
||||||
setParentId(data.parent_id);
|
setParentId(data.parent_id);
|
||||||
setSort(data.sort);
|
setSort(data.sort);
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -138,7 +141,15 @@ export const ResourceCategoryUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="basic"
|
name="basic"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Modal, Form, Input, message, TreeSelect } from "antd";
|
import { Modal, Form, Input, message, TreeSelect, Spin } from "antd";
|
||||||
import { resource, resourceCategory } from "../../../../../api/index";
|
import { resource, resourceCategory } from "../../../../../api/index";
|
||||||
|
|
||||||
interface PropInterface {
|
interface PropInterface {
|
||||||
@ -17,9 +17,11 @@ export const VideosUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [categories, setCategories] = useState<any>([]);
|
const [categories, setCategories] = useState<any>([]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (id === 0) {
|
if (id === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -27,7 +29,7 @@ export const VideosUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
getCategory();
|
getCategory();
|
||||||
getDetail();
|
getDetail();
|
||||||
}
|
}
|
||||||
}, [id, open]);
|
}, [form, id, open]);
|
||||||
|
|
||||||
const getCategory = () => {
|
const getCategory = () => {
|
||||||
resourceCategory.resourceCategoryList().then((res: any) => {
|
resourceCategory.resourceCategoryList().then((res: any) => {
|
||||||
@ -46,6 +48,7 @@ export const VideosUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
name: data.name,
|
name: data.name,
|
||||||
category_id: res.data.category_ids,
|
category_id: res.data.category_ids,
|
||||||
});
|
});
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -100,7 +103,15 @@ export const VideosUpdateDialog: React.FC<PropInterface> = ({
|
|||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="videos-update"
|
name="videos-update"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Modal, Form, Input, Select, Switch, message } from "antd";
|
import { Modal, Form, Input, Select, Switch, message, Spin } from "antd";
|
||||||
import styles from "./update.module.less";
|
import styles from "./update.module.less";
|
||||||
import { adminUser } from "../../../../api/index";
|
import { adminUser } from "../../../../api/index";
|
||||||
|
|
||||||
@ -17,6 +17,7 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel,
|
onCancel,
|
||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
const [roles, setRoles] = useState<any>([]);
|
const [roles, setRoles] = useState<any>([]);
|
||||||
|
|
||||||
@ -27,6 +28,7 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
|
|||||||
}, [refresh, open]);
|
}, [refresh, open]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (id === 0) {
|
if (id === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -58,6 +60,7 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
|
|||||||
is_ban_login: user.is_ban_login,
|
is_ban_login: user.is_ban_login,
|
||||||
roleIds: res.data.role_ids,
|
roleIds: res.data.role_ids,
|
||||||
});
|
});
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -104,7 +107,15 @@ export const SystemAdministratorUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="basic"
|
name="basic"
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Drawer, TreeSelect, Space, Button, Form, Input, message } from "antd";
|
import {
|
||||||
|
Drawer,
|
||||||
|
TreeSelect,
|
||||||
|
Space,
|
||||||
|
Button,
|
||||||
|
Form,
|
||||||
|
Input,
|
||||||
|
message,
|
||||||
|
Spin,
|
||||||
|
} from "antd";
|
||||||
import styles from "./update.module.less";
|
import styles from "./update.module.less";
|
||||||
import { adminRole } from "../../../../api/index";
|
import { adminRole } from "../../../../api/index";
|
||||||
|
|
||||||
@ -21,6 +30,7 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
|||||||
onCancel,
|
onCancel,
|
||||||
}) => {
|
}) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
const [init, setInit] = useState(true);
|
||||||
const [loading, setLoading] = useState<boolean>(true);
|
const [loading, setLoading] = useState<boolean>(true);
|
||||||
const [permissions, setPermissions] = useState<any>([]);
|
const [permissions, setPermissions] = useState<any>([]);
|
||||||
const [actions, setActions] = useState<any>([]);
|
const [actions, setActions] = useState<any>([]);
|
||||||
@ -32,6 +42,7 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
|||||||
}, [open]);
|
}, [open]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setInit(true);
|
||||||
if (id === undefined) {
|
if (id === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -136,6 +147,7 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
|||||||
permission_ids: res.data.perm_data,
|
permission_ids: res.data.perm_data,
|
||||||
action_ids: res.data.perm_action,
|
action_ids: res.data.perm_action,
|
||||||
});
|
});
|
||||||
|
setInit(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -181,7 +193,15 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
|||||||
}
|
}
|
||||||
width={634}
|
width={634}
|
||||||
>
|
>
|
||||||
<div className="float-left mt-24">
|
{init && (
|
||||||
|
<div className="float-left text-center mt-30">
|
||||||
|
<Spin></Spin>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div
|
||||||
|
className="float-left mt-24"
|
||||||
|
style={{ display: init ? "none" : "block" }}
|
||||||
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
name="adminroles-update"
|
name="adminroles-update"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user