From 96823abe1433b1e639da1ffa45521fb58b630b46 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期六, 03 六月 2023 10:51:44 +0800
Subject: [PATCH] no message

---
 uniapp/pages/login/setInviteCode.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/uniapp/pages/login/setInviteCode.vue b/uniapp/pages/login/setInviteCode.vue
index 7e9825d..3271537 100644
--- a/uniapp/pages/login/setInviteCode.vue
+++ b/uniapp/pages/login/setInviteCode.vue
@@ -48,11 +48,13 @@
 				isShowCode:false,
 				inviteCode:'',
 				appInfo:'',
-				inviterShow:false
+				inviterShow:false,
+				platform:''
 			}
 		},
 		mounted() {
-			this.appInfo = uni.getStorageSync('appInfo')
+			this.appInfo = uni.getStorageSync('appInfo');
+			this.platform = uni.getSystemInfoSync().platform
 		},
 		methods: {
 			useCode()
@@ -76,8 +78,17 @@
 					confirmText:'鑱旂郴鎺ㄨ崘浜�',
 					success:function(res)
 					{
-						that.isShowCode=res.cancel;
-						console.log(that.isShowCode)
+						console.log(that.platform);
+						console.log(res);
+						if (res.confirm) {
+						    that.isShowCode=false;
+						} else if (res.cancel) {
+							that.isShowCode=true;
+						}
+					},
+					fail:function(res)
+					{
+						 that.isShowCode=true;
 					}
 				});
 			},

--
Gitblit v1.9.3