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