메인 장수 정보에서 상세 통계와 숙련도 표시를 제외

This commit is contained in:
2026-09-05 13:21:08 +00:00
parent 3437cd99f4
commit 332bd9a3dd
4 changed files with 18 additions and 7 deletions
@@ -18,6 +18,7 @@ const props = withDefaults(
general: GeneralInformationPanelData | null;
summary: GeneralBattleSummaryData | null;
loading: boolean;
showDetails?: boolean;
nationColor?: string | null;
defenceText?: string | null;
killTurn?: number | null;
@@ -26,6 +27,7 @@ const props = withDefaults(
penaltyText?: string | number | null;
}>(),
{
showDetails: true,
nationColor: '#173d27',
defenceText: null,
killTurn: null,
@@ -48,7 +50,7 @@ const props = withDefaults(
:troop-text="props.troopText"
:penalty-text="props.penaltyText"
>
<template v-if="props.general" #details>
<template v-if="props.general && props.showDetails" #details>
<GeneralBattleSummary v-if="props.summary" :summary="props.summary" show-win-rate />
<LegacyGeneralProgress :general="props.general" :show-primary="false" />
</template>
+2
View File
@@ -408,6 +408,7 @@ watch(
<GeneralInformationPanel
:general="generalPanel"
:summary="generalSummary"
:show-details="false"
:loading="loading"
:nation-color="nation?.color"
/>
@@ -570,6 +571,7 @@ watch(
<GeneralInformationPanel
:general="generalPanel"
:summary="generalSummary"
:show-details="false"
:loading="loading"
:nation-color="nation?.color"
/>