|
|
@@ -268,17 +268,17 @@ export default {
|
|
|
.then(res => {
|
|
|
this.$toast.success('转赠成功');
|
|
|
this.getOrder(true);
|
|
|
- setTimeout(() => {
|
|
|
+ // setTimeout(() => {
|
|
|
// this.$router.push({
|
|
|
// path: '/orderDetail',
|
|
|
// query: {
|
|
|
// id: res.id,
|
|
|
// }
|
|
|
// });
|
|
|
- this.$router.replace('/orders');
|
|
|
+ // this.$router.replace('/orders');
|
|
|
// document.location.replace("https://www.adcs.vip/9th/giftOrder/223639");
|
|
|
// this.$router.replace('/giftOrder/' + order.getId());
|
|
|
- }, 1000);
|
|
|
+ // }, 1000);
|
|
|
})
|
|
|
.catch(e => {
|
|
|
if (e.error) {
|
|
|
@@ -292,7 +292,6 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
if (this.gas === '0') {
|
|
|
- console.log('3333333');
|
|
|
this.$http
|
|
|
.get(
|
|
|
`/payOrder/gift/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${
|
|
|
@@ -302,7 +301,7 @@ export default {
|
|
|
.then(res => {
|
|
|
this.$toast.success('转赠成功');
|
|
|
this.getOrder(true);
|
|
|
- setTimeout(() => {
|
|
|
+ // setTimeout(() => {
|
|
|
// this.$router.push({
|
|
|
// path: '/orderDetail',
|
|
|
// query: {
|
|
|
@@ -310,9 +309,9 @@ export default {
|
|
|
// }
|
|
|
// });
|
|
|
// this.$router.replace('/giftOrder/' + order.getId());
|
|
|
- this.$router.replace('/orders');
|
|
|
+ // this.$router.replace('/orders');
|
|
|
// document.location.replace("https://www.adcs.vip/9th/giftOrder/223639");
|
|
|
- }, 1000);
|
|
|
+ // }, 1000);
|
|
|
})
|
|
|
.catch(e => {
|
|
|
if (e.error) {
|