Fix(我的/订单):[#1620]各状态订单查看订单详情后返回后会跳转到“全部”订单,不会回到相应订单状态

This commit is contained in:
lifizer
2024-05-23 16:24:38 +08:00
parent 870ad9d5b3
commit c2968d5da0
+1 -1
View File
@@ -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();