瀏覽代碼

增加类型判断

htc 10 月之前
父節點
當前提交
2a1ef0ce05
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      pagesHouse/Mine/ordersList/details/details.vue

+ 2 - 3
pagesHouse/Mine/ordersList/details/details.vue

@@ -225,10 +225,9 @@
 			//渔家乐
 			info() {
 				this.$api.get('/api/fishering/personCenterOrderDetail/' + this.orderCode).then(res => {
-					console.log(res)
 					if (res.data.code == 0) {
 						this.infoMation = res.data.data;
-						this.isFisheringGoodsDTOCoverImg = this.infoMation.isFisheringGoodsDTO.coverImg||'';
+						if(this.merchantType == 10) this.isFisheringGoodsDTOCoverImg = this.infoMation.isFisheringGoodsDTO.coverImg||'';
 					}
 				})
 			},
@@ -239,7 +238,7 @@
 				}).then(res => {
 					if (res.data.code == 0) {
 						this.infoMation = res.data.data;
-						this.isFisheringGoodsDTOCoverImg = this.infoMation.isFisheringGoodsDTO.coverImg||'';
+						if(this.merchantType == 10) this.isFisheringGoodsDTOCoverImg = this.infoMation.isFisheringGoodsDTO.coverImg||'';
 						this.infoMation.productsDetail = JSON.parse(res.data.data.productsDetail);
 					}
 				})