From 8ee926de21b8c905a05e1995107916cee3afb8b7 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sun, 15 Sep 2024 17:52:50 +0800
Subject: [PATCH] fix: 联合处置申请选择部门后没关闭弹窗

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