[update 首页搜索] 查看文本增加doc的预览
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user