Pārlūkot izejas kodu

增加类型判断

htc 10 mēneši atpakaļ
vecāks
revīzija
2a1ef0ce05
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  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);
 					}
 				})