wechat_staff/pages/login/index.js
@@ -56,6 +56,9 @@ }, 1000) }) }, onShow(){ wx.hideHomeButton() }, handleJudge(e) { const flag = e.currentTarget.dataset.flag console.log(e); @@ -163,7 +166,7 @@ } }) } else { wx.navigateTo({ wx.redirectTo({ url: '/pages/login/index', }) wx.hideLoading() @@ -258,13 +261,6 @@ * 生命周期函数--监听页面初次渲染完成 */ onReady() { }, /** * 生命周期函数--监听页面显示 */ onShow() { },