diff --git a/chat-client/src/views/datasets/components/DocUpload.vue b/chat-client/src/views/datasets/components/DocUpload.vue index 72827b3..e2258ef 100644 --- a/chat-client/src/views/datasets/components/DocUpload.vue +++ b/chat-client/src/views/datasets/components/DocUpload.vue @@ -24,8 +24,7 @@ :on-change="handleFileChange" :file-list="[]" :show-file-list="false" - :limit="10" - accept=".txt,.md,.markdown,.mdx,.pdf,.html,.htm,.xlsx,.xls,.doc,.docx,.csv,.vtt,.properties" + accept=".txt,.md,.markdown,.mdx,.pdf,.html,.htm,.xlsx,.xls,.docx,.csv,.vtt,.properties" class="upload-area" :class="{ 'is-dragover': isDragOver }" @drop="handleDrop" @@ -38,7 +37,7 @@
支持 TXT、MD、PDF、Word、Excel、HTML、CSV 等格式
+支持 TXT、MD、PDF、DOCX、Excel、HTML、CSV 等格式(不支持DOC格式)
单个文件不超过 100MB,最多可选择 10 个文件