From 6a2c0e50aabe2c2fda7671d75d7550f12d72e411 Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Fri, 13 Sep 2024 19:10:29 +0800
Subject: [PATCH] 修改

---
 gz-wxparty/pages/homePage/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gz-wxparty/pages/homePage/index.js b/gz-wxparty/pages/homePage/index.js
index 6cb4859..e2e201e 100644
--- a/gz-wxparty/pages/homePage/index.js
+++ b/gz-wxparty/pages/homePage/index.js
@@ -260,7 +260,7 @@
 
   // 登录,获取用户信息
   async handleGetUserInfo() {
-    $$.showLoading();
+
     wx.getUserProfile({
       desc: '完善用户信息',
       complete(res) {
@@ -276,6 +276,7 @@
                   encryptedData: res.encryptedData,
                   ivStr: res.iv,
                 };
+                $$.showLoading();
                 const res3 = await registerApi(submitData);
                 $$.hideLoading();
                 if (res3.type) {

--
Gitblit v1.8.0