Commit ba15eb5d authored by miaojiale's avatar miaojiale

修改上传查看图片

parent d32e1c37
......@@ -210,7 +210,7 @@ export default {
this.uploadPrefix + `${_.bucket_name}/${_.prefix}-${_.uuid_name}`
}
try {
if (name.match(/\.(png|jpg|jpeg)/)) {
if (name.match(/\.(PNG|png|jpg|JPG|jpeg|JPEG)/)) {
this.imgUrl = file.url || responseUrl
this.$refs.image.clickHandler()
} else {
......
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