gcz 4 anos atrás
pai
commit
f2413cf60f

+ 7 - 0
pages/usercenter/focusme/focusme.vue

@@ -161,6 +161,13 @@
 			},
 			//打电话
 			callnumber(number){
+				if(!number){
+					uni.showToast({
+						title: "没有该用户号码!",
+						icon:'none'
+					})
+					return false;
+				}
 				uni.makePhoneCall({
 				    phoneNumber: number 
 				});				

+ 1 - 1
pages/usercenter/mypublish/mypublish.vue

@@ -9,7 +9,7 @@
 					<view class="product-item-info">
 						<view class="product-item-til">{{item.name}}</view>
 						<view class="product-item-brand">{{item.brandName}} <text class="postage" v-if="item.postage">包邮</text></view>
-						<view class="product-item-addr">{{item.placeOfProduction}}</view>
+						<view class="product-item-addr">{{item.compName}}</view>
 						<view class="product-item-price">
 							<text class="rmb" v-if="item.price">¥</text> <text class="price" :class="!item.price?'noprice':''">{{item.price||"暂无价格"}}</text>
 							<text v-if="item.unit">/ {{item.unit}}</text>