Commit 5cc0264a by 张权

pdf类型修改

1 parent cfe70c84
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
}, },
getFileType(type) { getFileType(type) {
if (!type) return 'zip' if (!type) return 'zip'
if (type.indexOf('word') > -1) { if (type.indexOf('word') > -1 || type.indexOf('pdf') > -1) {
return 'doc' return 'doc'
} else if (type.indexOf('image') > -1) { } else if (type.indexOf('image') > -1) {
return 'image' return 'image'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!