소스 검색

微信支付优化

shish 1 년 전
부모
커밋
f7aaf9b154
3개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 2
      hdApp/src/admin/ghs/pay.vue
  2. 2 2
      hdApp/src/pagesPurchase/gatherPay.vue
  3. 2 2
      hdApp/src/pagesPurchase/wechatPay.vue

+ 2 - 2
hdApp/src/admin/ghs/pay.vue

@@ -205,8 +205,8 @@
 			// 微信支付
 			wexinPayFn() {
 
-				let type = uni.getSystemInfoSync().platform
-				if(type == 'windows'){
+				let platformType = uni.getSystemInfoSync().platform
+				if(platformType == 'windows'){
 					this.$msg('请使用手机小程序付款')
 					return false
 				}

+ 2 - 2
hdApp/src/pagesPurchase/gatherPay.vue

@@ -167,8 +167,8 @@ export default {
     },
     wxPayFn(type){
 
-			let type = uni.getSystemInfoSync().platform
-			if(type == 'windows'){
+			let platformType = uni.getSystemInfoSync().platform
+			if(platformType == 'windows'){
         this.$msg('请使用手机小程序付款')
         return false
       }

+ 2 - 2
hdApp/src/pagesPurchase/wechatPay.vue

@@ -262,8 +262,8 @@ export default {
     },
     wxPayFn () {
 
-			let type = uni.getSystemInfoSync().platform
-			if(type == 'windows'){
+			let platformType = uni.getSystemInfoSync().platform
+			if(platformType == 'windows'){
         this.$msg('请使用手机小程序付款')
         return false
       }