From 394e04ba31f0822255862033b8dffef17530495c Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 13 Sep 2024 22:49:01 +0800
Subject: [PATCH] fix: 受理跳转办理页面为空白的bug

---
 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