更新樓層平面圖 route

This commit is contained in:
JouChun 2024-10-15 22:20:37 -04:00
parent 773520a7c8
commit af6a15d931

View File

@ -38,7 +38,7 @@ watch([() => currentFloor, () => asset_floor_chart], ([newValue, newChart]) => {
asset_floor_chart.value.updateSvg(
{
full_name: newValue.value?.title,
path: `${FILE_BASEURL}/floor_map/22495db3-36cc-4778-8bf9-55e4e9a7145b.svg`,
path: `${FILE_BASEURL}/upload/floor_map/${newValue.value.map_url}`,
},
defaultOption(newValue.value?.title, subscribeData.value.filter(d => d.device_coordinate).map(d => JSON.parse(d.device_coordinate)))