diff --git a/pages/users/login/login_copy.vue b/pages/users/login/login_copy.vue index 7500f6c..13abe4f 100644 --- a/pages/users/login/login_copy.vue +++ b/pages/users/login/login_copy.vue @@ -1411,27 +1411,13 @@ title: '登录失败,请稍后再试' }); }) - // uniCloud.callFunction({ - // name: 'oneClickLoginFn', - // data: { - // 'access_token': res.authResult - // .access_token, - // 'openid': res.authResult.openid - // } - // }).then(res => { - // console.log(res, '登录成功后的res') - // }).catch(err => { - // console.log(err, 'ererre') - // }) }, fail(res) { // 登录失败 - console.log(res.errCode) - console.log(res.errMsg) + uni.closeAuthView() } }) }, fail(res) { - console.log(res); that.$util.Tips({ title: '当前环境不支持一键登录' });