From ba4da8d8e8d55153d0ff1c39ebdac30115a066a8 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 09 八月 2024 09:23:08 +0800
Subject: [PATCH] aa
---
wechat_jiaxuan/pages/auth/auth.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/wechat_jiaxuan/pages/auth/auth.js b/wechat_jiaxuan/pages/auth/auth.js
index caf56bd..694c102 100644
--- a/wechat_jiaxuan/pages/auth/auth.js
+++ b/wechat_jiaxuan/pages/auth/auth.js
@@ -79,6 +79,17 @@
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,
})
--
Gitblit v1.9.3