From d9a89d83c2048a964f16ca179feb2b7f21b9d33a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:28:47 +0800
Subject: [PATCH] 提交
---
wechat_staff/pages/kefu/select.js | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/wechat_staff/pages/kefu/select.js b/wechat_staff/pages/kefu/select.js
index a3d2b7b..5896bc1 100644
--- a/wechat_staff/pages/kefu/select.js
+++ b/wechat_staff/pages/kefu/select.js
@@ -83,11 +83,16 @@
})
},
jumpClient() {
- getCrmAuthUrl({type:1}).then(res => {
- console.log(res.data)
+ getCrmAuthUrl({type:1}).then(res => {
this.setData({ url: res.data })
+ const url =res.data
wx.navigateTo({
- url: '/pages/webView/index?link=' + res.data,
+ url: '/pages/webView/index',
+ success: function(res1) {
+ // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
+ console.log(url)
+ res1.eventChannel.emit('data',{link:url} );
+ }
})
})
},
--
Gitblit v1.9.3