mirror of
https://github.com/PlayEdu/backend
synced 2026-02-02 21:30:39 +08:00
优化
This commit is contained in:
@@ -84,6 +84,8 @@ export const CourseCreate: React.FC<PropInterface> = ({
|
||||
setHours([]);
|
||||
setTreeData([]);
|
||||
setAttachmentData([]);
|
||||
setAttachments([]);
|
||||
setShowDrop(false);
|
||||
}, [form, open]);
|
||||
|
||||
const getParams = () => {
|
||||
@@ -793,7 +795,10 @@ export const CourseCreate: React.FC<PropInterface> = ({
|
||||
className={showDrop ? "drop-item active" : "drop-item"}
|
||||
onClick={() => setShowDrop(!showDrop)}
|
||||
>
|
||||
<i className="iconfont icon-icon-xiala c-red" />
|
||||
<i
|
||||
style={{ fontSize: 14 }}
|
||||
className="iconfont icon-icon-xiala c-red"
|
||||
/>
|
||||
<span>(课程简介、课件)</span>
|
||||
</div>
|
||||
</Form.Item>
|
||||
|
||||
@@ -93,18 +93,13 @@ const SystemLogPage = () => {
|
||||
};
|
||||
|
||||
const columns: ColumnsType<DataType> = [
|
||||
{
|
||||
title: "ID",
|
||||
width: 100,
|
||||
render: (_, record: any) => <span>{record.id}</span>,
|
||||
},
|
||||
{
|
||||
title: "管理员名称",
|
||||
width: 150,
|
||||
render: (_, record: any) => <span>{record.admin_name}</span>,
|
||||
},
|
||||
{
|
||||
title: "标题",
|
||||
title: "操作",
|
||||
render: (_, record: any) => <span>{record.title}</span>,
|
||||
},
|
||||
{
|
||||
@@ -148,7 +143,7 @@ const SystemLogPage = () => {
|
||||
<div className="d-flex"></div>
|
||||
<div className="d-flex">
|
||||
<div className="d-flex mr-24">
|
||||
<Typography.Text>标题:</Typography.Text>
|
||||
<Typography.Text>操作:</Typography.Text>
|
||||
<Input
|
||||
value={title}
|
||||
onChange={(e) => {
|
||||
@@ -156,7 +151,7 @@ const SystemLogPage = () => {
|
||||
}}
|
||||
allowClear
|
||||
style={{ width: 160 }}
|
||||
placeholder="请输入标题"
|
||||
placeholder="请输入操作"
|
||||
/>
|
||||
</div>
|
||||
<div className="d-flex mr-24">
|
||||
|
||||
Reference in New Issue
Block a user