From 749d37d04c015f6dfc6e430200700b59ff410b51 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 25 七月 2024 10:18:17 +0800 Subject: [PATCH] 提交 --- wechat_staff/components/buoyClient/index.js | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/wechat_staff/components/buoyClient/index.js b/wechat_staff/components/buoyClient/index.js index 72c265e..4a2a98c 100644 --- a/wechat_staff/components/buoyClient/index.js +++ b/wechat_staff/components/buoyClient/index.js @@ -26,10 +26,15 @@ const i = e.currentTarget.dataset.i if(i == 2){ getCrmAuthUrl({type:1}).then(res => { - console.log(res.data) - this.setData({ url: res.data }) + this.setData({ url: res.data }) + let link = res.data wx.navigateTo({ - url: '/pages/webView/index?link=' + res.data, + url: '/pages/webView/index', + success: function(res) { + // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹� + console.log(link) + res.eventChannel.emit('data',{link:link} ); + } }) }) } -- Gitblit v1.9.3