From cf0c180efd3a3a2109e46af2c34621aff13e4120 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Tue, 1 Apr 2025 11:33:13 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3440=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=88=91=E7=9A=84=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E2=80=94=E6=9F=A5=E7=9C=8B=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=90=8E=E8=BF=94=E5=9B=9E=E6=9C=AA=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E5=88=B0=E8=AF=A5=E8=AE=A2=E5=8D=95=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/MyOrder/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue index c819cba..fe861e7 100644 --- a/pages/order/MyOrder/index.vue +++ b/pages/order/MyOrder/index.vue @@ -293,10 +293,13 @@ export default { } }) } 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: { handleBody() { this.orderList.forEach((e) => {