Fix(我的/订单):[#1620]各状态订单查看订单详情后返回后会跳转到“全部”订单,不会回到相应订单状态
This commit is contained in:
@@ -180,7 +180,7 @@ export default {
|
||||
},
|
||||
computed: mapGetters(["userInfo"]),
|
||||
onShow: function () {
|
||||
this.type = parseInt(this.$yroute.query.type) || 0;
|
||||
this.type = this.type || parseInt(this.$yroute.query.type) || 0;
|
||||
this.changeType(this.type);
|
||||
this.getOrderData();
|
||||
this.getOrderListReq();
|
||||
|
||||
Reference in New Issue
Block a user