diff --git a/src/views/system/SystemFloor.vue b/src/views/system/SystemFloor.vue index b641a81..8ad6ea3 100644 --- a/src/views/system/SystemFloor.vue +++ b/src/views/system/SystemFloor.vue @@ -41,7 +41,7 @@ watch([() => currentFloor, () => asset_floor_chart], ([newValue, newChart]) => { 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]])) ); }