From d2ce9f10260d1b1439a6d73d39840194f14a0949 Mon Sep 17 00:00:00 2001 From: kron Date: Thu, 9 Oct 2025 09:30:05 +0800 Subject: [PATCH] fix bug --- src/components/PointRecord.vue | 2 +- src/pages/point-book-create.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PointRecord.vue b/src/components/PointRecord.vue index 037f3a1..0df8e8d 100644 --- a/src/components/PointRecord.vue +++ b/src/components/PointRecord.vue @@ -46,7 +46,7 @@ onMounted(() => { {{ data.createAt }} - 黄心率:{{ Number(data.yellowRate * 100) }}% + 黄心率:{{ Number((data.yellowRate * 100).toFixed(2)) }}% 10环数:{{ data.tenRings }} 平均:{{ data.averageRing }} diff --git a/src/pages/point-book-create.vue b/src/pages/point-book-create.vue index ae37807..d220923 100644 --- a/src/pages/point-book-create.vue +++ b/src/pages/point-book-create.vue @@ -7,7 +7,7 @@ import SButton from "@/components/SButton.vue"; import { getPointBookDataAPI } from "@/apis"; const expandIndex = ref(0); -const bowType = ref({}); +const bowType = ref(""); const distance = ref(0); const bowtargetType = ref(""); const amountGroup = ref("");