fix: 文档上传添加html格式限制 (#537)
parent
e9a05b1255
commit
2c82f12571
|
|
@ -38,7 +38,7 @@ export function fileType(name: string) {
|
||||||
获得文件对应图片
|
获得文件对应图片
|
||||||
*/
|
*/
|
||||||
const typeList: any = {
|
const typeList: any = {
|
||||||
txt: ['txt', 'pdf', 'docx', 'csv', 'md'],
|
txt: ['txt', 'pdf', 'docx', 'csv', 'md', 'html'],
|
||||||
QA: ['xlsx', 'csv', 'xls']
|
QA: ['xlsx', 'csv', 'xls']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue