Commit 90309313 authored by gengchunlei's avatar gengchunlei

慢综 医生端 图片上传bug修复

parent 822f5ddd
......@@ -345,7 +345,7 @@ export default {
if (item.type == 'application/pdf') {
item['imgFlag'] = 'pdf'
}
if (item.type == 'image/jpeg' || item.type == 'image/png' || 'image/gif' || 'image/webp') {
if (item.type == 'image/jpeg' || item.type == 'image/png' || item.type == 'image/gif' || item.type == 'image/webp') {
item['imgFlag'] = 'img'
}
})
......@@ -364,7 +364,7 @@ export default {
if (item.type == 'application/pdf') {
item['imgFlag'] = 'pdf'
}
if (item.type == 'image/jpeg' || item.type == 'image/png' || 'image/gif' || 'image/webp') {
if (item.type == 'image/jpeg' || item.type == 'image/png' || item.type == 'image/gif' || item.type == 'image/webp') {
item['imgFlag'] = 'img'
}
})
......
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