浏览代码

有isBuy字段才对其进行判断

gcz 2 年之前
父节点
当前提交
8a6c865755
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: '购买该商品需要实名认证,请先实名认证!',