更新樓層平面圖 route
This commit is contained in:
parent
773520a7c8
commit
af6a15d931
@ -38,7 +38,7 @@ watch([() => currentFloor, () => asset_floor_chart], ([newValue, newChart]) => {
|
|||||||
asset_floor_chart.value.updateSvg(
|
asset_floor_chart.value.updateSvg(
|
||||||
{
|
{
|
||||||
full_name: newValue.value?.title,
|
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)))
|
defaultOption(newValue.value?.title, subscribeData.value.filter(d => d.device_coordinate).map(d => JSON.parse(d.device_coordinate)))
|
||||||
|
Loading…
Reference in New Issue
Block a user