Commit 5cc0264a by 张权

pdf类型修改

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