From 1a02d199ed22c426e6fb96cabb89e62b718802f3 Mon Sep 17 00:00:00 2001 From: JouChun Date: Mon, 4 Nov 2024 15:59:43 -0500 Subject: [PATCH] =?UTF-8?q?=E6=A8=93=E5=B1=A42D=E5=9C=96=EF=BC=8C=E6=94=B9?= =?UTF-8?q?=E7=82=BAALL=E6=99=82=EF=BC=8C=E5=88=87=E6=8F=9B3D=E5=9C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/components/SystemFloorBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/components/SystemFloorBar.vue b/src/views/system/components/SystemFloorBar.vue index cb41881..db27331 100644 --- a/src/views/system/components/SystemFloorBar.vue +++ b/src/views/system/components/SystemFloorBar.vue @@ -39,7 +39,7 @@ const onClick = (item) => { router.push({ name: 'sub_system', params: { ...route.params, floor_id: item.key - }, query: { ...route.query, gas: route.query.gas, mode: route.params.floor_id === "main" ? "3D" : route.query.mode } + }, query: { ...route.query, gas: route.query.gas, mode: item.key === "main" ? "3D" : route.query.mode } }) }