This commit is contained in:
unknown 2023-07-30 12:51:58 +08:00
parent d94d8afbba
commit 4e3d6b0969
3 changed files with 13 additions and 10 deletions

View File

@ -71,6 +71,7 @@ export const UploadCoursewareButton = (props: PropsInterface) => {
file.type === "application/x-zip-compressed" ||
file.type === "application/octet-stream" ||
file.type === "application/zip" ||
file.type === "application/x-rar" ||
file.type ===
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ||
file.type === "application/vnd.ms-excel" ||
@ -188,7 +189,9 @@ export const UploadCoursewareButton = (props: PropsInterface) => {
<p className="ant-upload-drag-icon">
<InboxOutlined />
</p>
<p className="ant-upload-text"></p>
<p className="ant-upload-text">
wordexcelpptpdfziptxt格式文件
</p>
<p className="ant-upload-hint"></p>
</Dragger>
</Col>

View File

@ -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>

View File

@ -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">