Merge branch 'feature/0430' into 'release/6.9.2'
fix See merge request !70
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -77,7 +77,7 @@ function init(qs) { | @@ -77,7 +77,7 @@ function init(qs) { | ||
77 | if (/MicroMessenger/i.test(navigator.userAgent)) { | 77 | if (/MicroMessenger/i.test(navigator.userAgent)) { |
78 | loadScript('//res.wx.qq.com/open/js/jweixin-1.3.2.js', () => { | 78 | loadScript('//res.wx.qq.com/open/js/jweixin-1.3.2.js', () => { |
79 | jsonp(location.protocol + '//m.yohobuy.com/activity/wechat/share', { | 79 | jsonp(location.protocol + '//m.yohobuy.com/activity/wechat/share', { |
80 | - url: location.href | 80 | + url: encodeURIComponent(location.href.split('#')[0]) |
81 | }).then(res => { | 81 | }).then(res => { |
82 | if (window.wx) { | 82 | if (window.wx) { |
83 | window.wx.config({ | 83 | window.wx.config({ |
-
Please register or login to post a comment