Explorar el Código

有isBuy字段才对其进行判断

gcz hace 2 años
padre
commit
8a6c865755
Se han modificado 1 ficheros con 1 adiciones y 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: '购买该商品需要实名认证,请先实名认证!',