Fix:3440 【商城小程序】我的订单—查看订单详情后返回未定位到该订单位置

This commit is contained in:
modendeveloper
2025-04-01 11:33:13 +08:00
parent 4333e8e76a
commit cf0c180efd
+5 -2
View File
@@ -293,10 +293,13 @@ export default {
} }
}) })
} else { } else {
_this.type = _this.type || parseInt(_this.$yroute.query.type) || 0;
_this.changeType(_this.type);
} }
}, },
onLoad() {
this.type = this.type || parseInt(this.$yroute.query.type) || 0;
this.changeType(this.type);
},
methods: { methods: {
handleBody() { handleBody() {
this.orderList.forEach((e) => { this.orderList.forEach((e) => {