wechat_jiaxuan/pages/auth/auth.js
@@ -78,6 +78,18 @@ const tempPath = wx.getStorageSync('tempPath') || '' wx.setStorageSync('member', res.data) if (tempPath) { wx.setStorageSync('tempPath', '') if (tempPath == '/pages/webView/index') { wx.navigateTo({ url: '/pages/webView/index', success: function (res) { res.eventChannel.emit('acceptDataFromOpenerPage', { link: wx.getStorageSync('testUrl') }) } }) return } wx.redirectTo({ url: tempPath, })