Commit a01af6b7 by 张权

第二轮bug修复

1 parent 6812d96b
......@@ -103,7 +103,7 @@ export default {
arr.forEach( (ele,id) => {
let mediaType = 5
let myParam = {}
let fileReg = /https?:\/\/[\s\S]+\./
let fileReg = /^https?:\/\/[\s\S]+\./
if(!ele) return;
if(fileReg.test(ele)){
let imgArr = ['jpg','jpeg','png','gif','webp','pjp','jfif','pjpeg','bmp','dib']
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!