|
|
@ -313,14 +313,14 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 申请获取用户信息 |
|
|
|
// 申请获取用户信息 |
|
|
|
getUserInfoProfile(data) { |
|
|
|
async getUserInfoProfile(data) { |
|
|
|
if (isWeixin()) { |
|
|
|
if (isWeixin()) { |
|
|
|
let wechatInit = wechat() |
|
|
|
let wechatInit = wechat() |
|
|
|
if (wechatInit) { |
|
|
|
if (wechatInit) { |
|
|
|
await oAuth() |
|
|
|
await oAuth() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
changeswitch(data) { |
|
|
|
changeswitch(data) { |
|
|
|
this.switchActive = data |
|
|
|
this.switchActive = data |
|
|
|
}, |
|
|
|
}, |
|
|
|