更新平面圖原圓點位置

This commit is contained in:
JouChun 2024-10-17 14:50:17 -04:00
parent bf5d6e6eb1
commit 0f12d98376

View File

@ -41,7 +41,7 @@ watch([() => currentFloor, () => asset_floor_chart], ([newValue, newChart]) => {
path: `${FILE_BASEURL}/${newValue.value.map_url}`, path: `${FILE_BASEURL}/${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 => [d.device_coordinate.split(",")[0], d.device_coordinate.split(",")[1]]))
); );
} }