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[]; }