Explorar o código

有isBuy字段才对其进行判断

gcz %!s(int64=2) %!d(string=hai) anos
pai
achega
8a6c865755
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: '购买该商品需要实名认证,请先实名认证!',