[update 首页搜索] 查看文本增加doc的预览

This commit is contained in:
danshihao
2024-08-20 15:50:42 +08:00
parent ecbe64a156
commit 011423ca40
2 changed files with 2 additions and 2 deletions
@@ -707,7 +707,7 @@ export default {
if (suffix === 'pdf') {
pdfFileList.push({ id, name, suffix })
}
if (suffix === 'docx') {
if (suffix === 'docx' || suffix === 'doc') {
docFileList.push({ id, name, suffix })
}
}
+1 -1
View File
@@ -665,7 +665,7 @@ export default {
if (suffix === 'pdf') {
pdfFileList.push({ id, name, suffix })
}
if (suffix === 'docx') {
if (suffix === 'docx' || suffix === 'doc') {
docFileList.push({ id, name, suffix })
}
}