From 5dad7a6a02965f64bf7f6f2d696f66dd504b6fae Mon Sep 17 00:00:00 2001 From: fish Date: Mon, 11 May 2026 22:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=94=AF=E6=92=91=E4=BD=8D?= =?UTF-8?q?=E5=92=8C=E9=98=BB=E5=8A=9B=E4=BD=8D=E6=8B=86=E4=B8=BA=E5=9B=9B?= =?UTF-8?q?=E5=88=97=EF=BC=9A=E6=94=AF=E6=92=91=E4=BD=8D=E4=B8=80/?= =?UTF-8?q?=E4=BA=8C=E3=80=81=E9=98=BB=E5=8A=9B=E4=BD=8D=E4=B8=80/?= =?UTF-8?q?=E4=BA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/views/DailyDirectionView.vue | 43 +++++++------------ 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/web/frontend/src/views/DailyDirectionView.vue b/web/frontend/src/views/DailyDirectionView.vue index 45da4bc..28ad4d3 100644 --- a/web/frontend/src/views/DailyDirectionView.vue +++ b/web/frontend/src/views/DailyDirectionView.vue @@ -96,6 +96,11 @@ function parseLevels(json: string): number[] { } } +function levelAt(json: string, i: number): string { + const arr = parseLevels(json) + return arr[i] != null ? String(arr[i]) : '-' +} + function openDrawer(row: DailyDirection) { selectedRow.value = row drawerOpen.value = true @@ -145,17 +150,17 @@ onMounted(fetchList) - - + + - - + + + + + + + +