|
@@ -1502,7 +1502,9 @@
|
|
let regex = /\/\/img[0-9]+.360buyimg.com\S+.(jpg|jpeg|png|gif|avif|tif|tiff)/g;
|
|
let regex = /\/\/img[0-9]+.360buyimg.com\S+.(jpg|jpeg|png|gif|avif|tif|tiff)/g;
|
|
let detailImgArr = [];
|
|
let detailImgArr = [];
|
|
if(detailInfo && detailInfo.content){
|
|
if(detailInfo && detailInfo.content){
|
|
- detailImgArr = detailInfo.content.match(regex);
|
|
|
|
|
|
+ if(detailInfo.content.match(regex)){
|
|
|
|
+ detailImgArr = detailInfo.content.match(regex);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
jdImgInfo.detailImg = detailImgArr;
|
|
jdImgInfo.detailImg = detailImgArr;
|