删除多余代码
This commit is contained in:
parent
df16e85df9
commit
6478239fc2
@ -1411,27 +1411,13 @@
|
|||||||
title: '登录失败,请稍后再试'
|
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) { // 登录失败
|
fail(res) { // 登录失败
|
||||||
console.log(res.errCode)
|
uni.closeAuthView()
|
||||||
console.log(res.errMsg)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
fail(res) {
|
fail(res) {
|
||||||
console.log(res);
|
|
||||||
that.$util.Tips({
|
that.$util.Tips({
|
||||||
title: '当前环境不支持一键登录'
|
title: '当前环境不支持一键登录'
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user