Merge branch 'couponV2.0' of https://codeup.aliyun.com/5f9118049cffa29cfdd3be1c/marketing/mobileclient into couponV2.0
* 'couponV2.0' of https://codeup.aliyun.com/5f9118049cffa29cfdd3be1c/marketing/mobileclient: fix:微信立减金 钉钉环境直接跳转
This commit is contained in:
commit
2200a87200
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue