樓層2D圖,改為ALL時,切換3D圖

This commit is contained in:
JouChun 2024-11-04 15:59:43 -05:00
parent 5db42f4054
commit 1a02d199ed

View File

@ -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 }
})
}