소스 검색

有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: '购买该商品需要实名认证,请先实名认证!',