提交 9d6dffe7 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新一键登录示例

上级 84ca8e8c
......@@ -24,10 +24,10 @@
this.univerifyManager = uni.getUniverifyManager();
// 预登录
this.univerifyManager?.preLogin({
success() {
success: () => {
console.log("pre login success");
},
fail(err : PreLoginFail) {
fail: (err : PreLoginFail) => {
console.error("pre login fail => " + JSON.stringify(err));
uni.showModal({
title: '预登录失败',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册