fix: 文档上传添加html格式限制 (#537)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled

This commit is contained in:
shaohuzhang1 2024-05-24 18:08:09 +08:00 committed by GitHub
parent e9a05b1255
commit 2c82f12571
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ export function fileType(name: string) {
*/
const typeList: any = {
txt: ['txt', 'pdf', 'docx', 'csv', 'md'],
txt: ['txt', 'pdf', 'docx', 'csv', 'md', 'html'],
QA: ['xlsx', 'csv', 'xls']
}