diff --git a/ui/src/utils/utils.ts b/ui/src/utils/utils.ts index 8f2463985..67448f519 100644 --- a/ui/src/utils/utils.ts +++ b/ui/src/utils/utils.ts @@ -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'] }