Commit 55ebc6f8 authored by IvyXia123's avatar IvyXia123

支付成功修改

parent 279a240f
......@@ -477,15 +477,15 @@ export default {
Toast('支付成功');
if(that.groupDetail.goods_type === 2 && !that.type){
setTimeout(function () {
that.$router.push({name:'success',query:{out_trade_no:that.orderNo,invite_code:that.invite_code, shopId: this.shopId}});
that.$router.push({name:'success',query:{out_trade_no:that.orderNo,invite_code:that.invite_code, shopId: that.shopId}});
},1000)
}else if(that.groupDetail.goods_type === 4){
setTimeout(function () {
that.$router.push({name:'saleSuccess',query:{out_trade_no:that.orderNo,invite_code:that.invite_code, shopId: this.shopId}});
that.$router.push({name:'saleSuccess',query:{out_trade_no:that.orderNo,invite_code:that.invite_code, shopId: that.shopId}});
},1000)
}else{
setTimeout(function () {
that.$router.push({name:'buySuccess',query:{out_trade_no:that.orderNo,invite_code:that.invite_code, shopId: this.shopId}});
that.$router.push({name:'buySuccess',query:{out_trade_no:that.orderNo,invite_code:that.invite_code, shopId: that.shopId}});
},1000)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment