调整商品支付失败转跳方式

This commit is contained in:
唐明明
2021-11-01 18:51:37 +08:00
parent 4acbd258b2
commit 634f7c33e4
2 changed files with 4 additions and 4 deletions

View File

@@ -231,7 +231,7 @@
icon: 'none' icon: 'none'
}) })
setTimeout(() => { setTimeout(() => {
uni.reLaunch({ uni.navigateTo({
url: '/pages/goods/payStatus?success=false' url: '/pages/goods/payStatus?success=false'
}) })
this.canPay = true this.canPay = true
@@ -247,7 +247,7 @@
}) })
setTimeout(() => { setTimeout(() => {
this.canPay = true this.canPay = true
uni.navigateTo({ uni.reLaunch({
url: '/pages/goods/payStatus?success=true' url: '/pages/goods/payStatus?success=true'
}) })
}, 3000); }, 3000);
@@ -281,7 +281,7 @@
icon: 'none' icon: 'none'
}) })
setTimeout(() => { setTimeout(() => {
uni.reLaunch({ uni.navigateTo({
url: '/pages/goods/payStatus?success=false' url: '/pages/goods/payStatus?success=false'
}) })
this.canPay = true this.canPay = true

File diff suppressed because one or more lines are too long