Commit 03c424b5 authored by Xuguangxing's avatar Xuguangxing

fix: code review

parent 8bd68191
......@@ -427,7 +427,7 @@ export default {
this.detailInfo = res;
this.setStartStatus(res);
this.showPage = true;
try {
this.detailInfo.contentDetailUrl = this.detailInfo.contentDetailUrl.replace(
'http://',
'https://'
......@@ -445,9 +445,6 @@ export default {
srcArr.push(src);
}
this.detailImgList = srcArr;
} catch (error) {
console.error(error);
}
this.selectedGoods.skuId = this.detailInfo.skuNo;
if (res.activitySkuTotalCount === 0) {
......
......@@ -239,7 +239,6 @@ export default {
this.imgList = res.imageUrl || [];
this.detailInfo = res;
this.setStartStatus(res);
try {
this.detailInfo.contentDetailUrl = this.detailInfo.contentDetailUrl.replace(
'http://',
'https://'
......@@ -258,9 +257,6 @@ export default {
srcArr.push(src);
}
this.detailImgList = srcArr;
} catch (error) {
console.error(error);
}
} catch (e) {
console.log(e);
}
......
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