fix:微信立减金 钉钉环境直接跳转

This commit is contained in:
wangsongsole 2022-10-25 17:14:34 +08:00
parent 7945cc82f8
commit 7b6be068b6
1 changed files with 1 additions and 2 deletions

View File

@ -340,8 +340,7 @@
if (res.goods.channel == 2) {
if (ua.indexOf("dingtalk") > -1) {
//在钉钉内置环境打开,不能唤起微信小程序
this.href = res.wechat_redirect_url
this.popFunction({ title: '温馨提示', text: `请在其他浏览器打开链接`, status: 2, b_text: '点击复制', show: true })
window.location.href = res.wechat_redirect_url
} else {
//唤起微信福利官小程序
window.location.replace(res.wechat_redirect_url);