From 0d23da5814e16f2031404d9a763bb0c3a599e234 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Fri, 13 Sep 2024 21:06:35 +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