From 9feb83c06227f831de6cfdea19778f2f115074c6 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期四, 04 七月 2024 10:35:12 +0800 Subject: [PATCH] fix: 修改代码 --- login/login/index.js | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/login/login/index.js b/login/login/index.js index 81e7fa3..9ceab76 100644 --- a/login/login/index.js +++ b/login/login/index.js @@ -157,6 +157,15 @@ }, success: function (res) { // console.log(res,123) + wx.showToast({ + title: JSON.stringify(res), + }) + wx.showModal({ + content: JSON.stringify(res), + showCancel: false, + confirmColor: "#39b5de" + }); + wx.hideToast(); var result = res.data; @@ -304,7 +313,7 @@ that.setData({ userInfo: res.userInfo, }) - app.startTimer() + that.getWxUserLoginCodeCb().then((loginParas) => { // console.log(loginParas.code) var jsCode = loginParas.code; @@ -388,7 +397,7 @@ inputHeight: screenHightScale * 177, }); console.log(111) - app.onReset() + // app.onReset() }, onShareAppMessage: function () { -- Gitblit v1.9.3