Sfoglia il codice sorgente

增加类型判断

htc 10 mesi fa
parent
commit
2a1ef0ce05
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  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);
 					}
 				})