From f505d6d0707f274972799039252398a927340e20 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Tue, 12 Dec 2023 16:37:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3this=E6=8C=87=E5=90=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-univerify-manager/get-univerify-manager.uvue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/API/get-univerify-manager/get-univerify-manager.uvue b/pages/API/get-univerify-manager/get-univerify-manager.uvue index dac76c4e..7c9ac806 100644 --- a/pages/API/get-univerify-manager/get-univerify-manager.uvue +++ b/pages/API/get-univerify-manager/get-univerify-manager.uvue @@ -42,11 +42,11 @@ } else { // 预登录无效,执行预登录 this.univerifyManager?.preLogin({ - success() { + success: () => { console.log("pre login success"); this.login(fullScreen); }, - fail(err : PreLoginFail) { + fail: (err : PreLoginFail) => { console.error("pre login fail => " + JSON.stringify(err)); } } as PreLoginOptions); @@ -61,7 +61,7 @@ loginBtnText: "一键登录", logoPath: "/static/logo.png" } as UniverifyStyle, - success(res : LoginSuccess) { + success: (res : LoginSuccess) => { console.log("login success => " + JSON.stringify(res)); // 云函数取号 uniCloud.callFunction({ @@ -75,7 +75,7 @@ title: '取号成功', content: res.result.getJSON("res")?.getString("phoneNumber"), showCancel: false, - success(_) { + success: (_) => { // 关闭登录页 this.univerifyManager?.close(); } @@ -86,7 +86,7 @@ this.univerifyManager?.close(); }); }, - fail(err : LoginFail) { + fail: (err : LoginFail) => { console.error("login fail => " + err); uni.showToast({ title: "登录失败", -- GitLab