|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
if (res.status === 'CANCELLED') {
|
|
|
- this.$router.back();
|
|
|
+ // this.$router.back();
|
|
|
} else {
|
|
|
this.$router.replace('/orderDetail?id=' + res.id);
|
|
|
}
|
|
|
@@ -283,9 +283,9 @@ export default {
|
|
|
...res,
|
|
|
success(res) {
|
|
|
this.$toast.success('支付成功');
|
|
|
- // setTimeout(() => {
|
|
|
- // this.$router.replace('/orders');
|
|
|
- // }, 1000);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$router.replace('/orders');
|
|
|
+ }, 1000);
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log(e);
|