From d41f1f707dc643b726a42b9d2a63b186dd9e4f28 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 06 八月 2024 16:12:38 +0800
Subject: [PATCH] ll

---
 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