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>