mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 支持PDF大写后缀
This commit is contained in:
parent
07555ec2c7
commit
a755a37a44
|
|
@ -38,7 +38,7 @@ export function fileType(name: string) {
|
|||
获得文件对应图片
|
||||
*/
|
||||
const typeList: any = {
|
||||
txt: ['txt', 'pdf', 'docx', 'csv', 'md', 'html'],
|
||||
txt: ['txt', 'pdf', 'docx', 'csv', 'md', 'html', 'PDF'],
|
||||
QA: ['xlsx', 'csv', 'xls']
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
action="#"
|
||||
:auto-upload="false"
|
||||
:show-file-list="false"
|
||||
accept=".txt, .md, .csv, .log, .docx, .pdf, .html"
|
||||
accept=".txt, .md, .csv, .log, .docx, .pdf, .html, .PDF"
|
||||
:limit="50"
|
||||
:on-exceed="onExceed"
|
||||
:on-change="fileHandleChange"
|
||||
|
|
|
|||
Loading…
Reference in New Issue