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.main
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"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue