assets/request/index.js
@@ -37,9 +37,10 @@ backUrl: urlargs } currentUrl = JSON.stringify(currentUrl) wx.reLaunch({ url: urlargs ? '/pages/home/home?backUrl=' + encodeURIComponent(currentUrl) : '/pages/home/home' }) // 不去首页登录,直接调用公共登录方法 // wx.reLaunch({ // url: urlargs ? '/pages/home/home?backUrl=' + encodeURIComponent(currentUrl) : '/pages/home/home' // }) } } else { wx.showToast({ @@ -47,11 +48,6 @@ icon: 'none' }) reject(res.data.message) wx.login({ success: (res) => { console.log(res) }, }) } }, fail: (res) => {