Browse Source

有isBuy字段才对其进行判断

gcz 2 năm trước cách đây
mục cha
commit
8a6c865755
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      shopping/productdetails.vue

+ 1 - 1
shopping/productdetails.vue

@@ -318,7 +318,7 @@
 				let that = this;
 			    return new Promise((resolve, reject) => {
 			        console.log('vuex_member_info', this.vuex_member_info.isAuth);
-			        if (that.details.isBuy!=1) {
+			        if (that.details.isBuy&&that.details.isBuy!=1) {
 			            uni.showModal({
 			                title: '温馨提示',
 			                content: '购买该商品需要实名认证,请先实名认证!',