From 6268109c92b315a96685dc7b2267744b211fc183 Mon Sep 17 00:00:00 2001 From: taozi <9108791@qq.com> Date: Tue, 11 Jan 2022 10:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=AD=E6=B3=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/User/index.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue index dd0821d..f096ab5 100644 --- a/pages/user/User/index.vue +++ b/pages/user/User/index.vue @@ -313,14 +313,14 @@ export default { } }, // 申请获取用户信息 - getUserInfoProfile(data) { - if (isWeixin()) { - let wechatInit = wechat() - if (wechatInit) { - await oAuth() - } - } - }, + async getUserInfoProfile(data) { + if (isWeixin()) { + let wechatInit = wechat() + if (wechatInit) { + await oAuth() + } + } + }, changeswitch(data) { this.switchActive = data },