Commit 958e1fd1 by 袁成

fix:文件列表图标

parent 63c2745e
......@@ -27,6 +27,10 @@ export default {
let type = ['bmp','ppt','txt','excel','zip','pdf','word','rar','jpg','gif','png']
if (type.includes(this.file.mimeType)) {
return this.file.mimeType
} else if (['docx', 'doc', 'docm'].includes(this.file.mimeType)) {
return 'word'
} else if (['xls', 'xlsx'].includes(this.file.mimeType)) {
return 'excel'
} else {
return 'tongyongtupian'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment