From 0f12d9837675a2db7a5b5e9bed574b2331240b9c Mon Sep 17 00:00:00 2001 From: JouChun Date: Thu, 17 Oct 2024 14:50:17 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B9=B3=E9=9D=A2=E5=9C=96?= =?UTF-8?q?=E5=8E=9F=E5=9C=93=E9=BB=9E=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/SystemFloor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]])) ); }