Commit ff48db94 by 乔延琦

Merge branch 'develop-yuancheng' into 'develop'

fix:文件列表图标

See merge request GFP/RBC/rbc-frontend!132
parents 251a3fe8 958e1fd1
......@@ -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