From e0de70ee356d0f0317e871dc6e6fc1504f70cb47 Mon Sep 17 00:00:00 2001 From: linxi Date: Sat, 14 Sep 2024 16:33:04 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E5=95=86=E5=9F=8E=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E3=80=91=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E2=80=94=E6=9F=A5=E7=9C=8B=E5=BA=97=E9=93=BA=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=B2=A1=E5=8F=8D=E5=BA=94=EF=BC=8C=E7=82=B9=E5=87=BB=E5=BA=94?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E5=BA=97=E9=93=BA=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/MyOrder/index.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue index ff58916..f9acbc8 100644 --- a/pages/order/MyOrder/index.vue +++ b/pages/order/MyOrder/index.vue @@ -305,12 +305,18 @@ export default { }, methods: { goStore(order) { - // this.$yrouter.push({ - // path: "/pagesInn/inn/innHome", - // query: { - // id: order.merId - // } - // }); + if(!order.hotelId) { + uni.showToast({ + title: '未找到相关店铺!' + }) + return + } + this.$yrouter.push({ + path: "/pagesInn/inn/innHome", + query: { + id: order.hotelId + } + }); }, async toYuePay(payPwd) { const that = this;