From 29f555bbca146ba30fa3727fcd788a89a62bf83a Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 25 Apr 2022 01:30:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B4=EC=A0=9C=20BettingDetail=20?= =?UTF-8?q?=EC=B6=9C=EB=A0=A5=20=EB=B3=80=EA=B2=BD=20-=20BettingInfo?= =?UTF-8?q?=EC=9D=98=20candidate=EA=B0=80=20array=EB=A5=BC=20=EB=B3=B4?= =?UTF-8?q?=EC=9E=A5=ED=95=98=EC=A7=80=20=EC=95=8A=EC=9D=8C=20-=20info?= =?UTF-8?q?=EA=B0=80=20html=EC=9D=B4=20=EC=95=84=EB=8B=88=EC=96=B4?= =?UTF-8?q?=EB=8F=84=20=EC=B6=9C=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/components/BettingDetail.vue | 2 +- hwe/ts/defs/API/Betting.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/ts/components/BettingDetail.vue b/hwe/ts/components/BettingDetail.vue index 90e98726..dd827107 100644 --- a/hwe/ts/components/BettingDetail.vue +++ b/hwe/ts/components/BettingDetail.vue @@ -24,6 +24,7 @@
+
{{ candidate.info }}
선택율: {{ (((partialBet.get(idx) ?? 0) / pureBettingAmount) * 100).toFixed(1) }}%
@@ -137,7 +138,6 @@ import { parseYearMonth } from "@/util/parseYearMonth"; import { isString, range, sum } from "lodash"; import { ref, type PropType, watch } from "vue"; - const props = defineProps({ bettingID: { type: Number as PropType, diff --git a/hwe/ts/defs/API/Betting.ts b/hwe/ts/defs/API/Betting.ts index 774881ef..03a6fb67 100644 --- a/hwe/ts/defs/API/Betting.ts +++ b/hwe/ts/defs/API/Betting.ts @@ -26,7 +26,7 @@ export type BettingInfo = { reqInheritancePoint: boolean; openYearMonth: number; closeYearMonth: number; - candidates: SelectItem[]; + candidates: Record; winner?: number[]; }