mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: 知识库-导入-QA 中提示可以选择 md 和 html 文件,但是确无法选择 md 和 html 文件。是因为 QA.tsx中定义的fileExtension变量少写了一个逗号,我加上了这个逗号。 (#672)
This commit is contained in:
@@ -9,7 +9,7 @@ import { useImportStore, SelectorContainer, PreviewFileOrChunk } from './Provide
|
||||
import { useDatasetStore } from '@/web/core/dataset/store/dataset';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
|
||||
const fileExtension = '.txt, .docx, .pdf, .md .html';
|
||||
const fileExtension = '.txt, .docx, .pdf, .md, .html';
|
||||
|
||||
const QAImport = () => {
|
||||
const { t } = useTranslation();
|
||||
|
Reference in New Issue
Block a user