zhengjinyi 4 سال پیش
والد
کامیت
aa7870ae7f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      components/cm-module/listTemplate/commodityList.vue

+ 2 - 2
components/cm-module/listTemplate/commodityList.vue

@@ -43,7 +43,7 @@
 								</template>
 							</template>
 							<template v-if="userIdentity == 3">
-								<template v-if="item.supplierId == shopId">
+								<template v-if="item.supplierId === shopId">
 									<view class="price-larger" v-if="item.p_price_flag == '1'">
 										<text class="txt">¥未公开价格</text>
 									</view>
@@ -146,7 +146,7 @@
 			this.$api.getComStorage('userInfo').then((resolve) =>{
 				this.clubStatus = resolve.clubStatus
 				this.userID = resolve.userID ? resolve.userID : 0;
-				this.shopId = resolve.shopID ? resolve.shopID : 0;
+				this.shopId = resolve.shopId ? resolve.shopId : 0;
 				this.userIdentity = resolve.userIdentity
 				if(this.userIdentity == 1){
 					this.identity = 1