mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 文档上传添加html格式限制 (#537)
This commit is contained in:
parent
e9a05b1255
commit
2c82f12571
|
|
@ -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']
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue