feat(ui): expand document upload capabilities in KnowledgeBase component

- Updated the file input accept attribute to include additional file types: .csv, .xlsx, and .xls, enhancing the document upload functionality for users.
This commit is contained in:
wizardchen
2026-02-09 17:04:33 +08:00
committed by lyingbug
parent 2979f9764a
commit d72f65bc23
@@ -1233,7 +1233,7 @@ async function createNewSession(value: string): Promise<void> {
ref="uploadInputRef"
type="file"
class="document-upload-input"
accept=".pdf,.docx,.doc,.txt,.md,.jpg,.jpeg,.png"
accept=".pdf,.docx,.doc,.txt,.md,.jpg,.jpeg,.png,.csv,.xlsx,.xls"
multiple
@change="handleDocumentUpload"
/>