From 52aa9f64e5dea1c0e30bc1094fa580c3851d8f9d Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sat, 14 Sep 2024 18:02:38 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-wxparty/pages/realNameAuthentication/index.js | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/gz-wxparty/pages/realNameAuthentication/index.js b/gz-wxparty/pages/realNameAuthentication/index.js index 75064e1..e77624d 100644 --- a/gz-wxparty/pages/realNameAuthentication/index.js +++ b/gz-wxparty/pages/realNameAuthentication/index.js @@ -166,20 +166,7 @@ const res = await realNameAuthenticationApi(this.data.submitData); $$.hideLoading(); if (res.type) { - wx.getStorage({ - key: 'userInfo', - success(res2) { - console.log('res2', res2); - let nowData = { - ...res2.data, - realStatus: 1, - } - wx.setStorage({ - key: 'userInfo', - data: nowData - }); - }, - }); + this.getUserInfo() $$.showToast({ icon: 'success', title: '实名认证成功' -- Gitblit v1.8.0