wip: NationBasicCard
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
<div class="mapView">지도</div>
|
||||
<div class="reservedCommandZone">예턴</div>
|
||||
<div class="cityInfo">도시 정보</div>
|
||||
<div class="nationInfo">국가 정보</div>
|
||||
<div v-if="frontInfo" class="nationInfo">
|
||||
<NationBasicCard />
|
||||
</div>
|
||||
<div v-if="frontInfo && generalInfo && nationStaticInfo" class="generalInfo">
|
||||
<GeneralBasicCard
|
||||
:general="generalInfo"
|
||||
@@ -97,6 +99,7 @@ import Denque from "denque";
|
||||
import { formatLog } from "@/utilGame/formatLog";
|
||||
import type { ExecuteResponse, GetFrontInfoResponse } from "./defs/API/Global";
|
||||
import { delay } from "./util/delay";
|
||||
import NationBasicCard from "./components/NationBasicCard.vue";
|
||||
import GeneralBasicCard from "./components/GeneralBasicCard.vue";
|
||||
import type { GeneralListItemP1 } from "./defs/API/Nation";
|
||||
import type { NationStaticItem } from "./defs";
|
||||
@@ -297,7 +300,7 @@ watch(refreshCounter, async () => {
|
||||
power: rawNation.power,
|
||||
};
|
||||
} catch (e) {
|
||||
recordLock = false;
|
||||
generalInfoLock = false;
|
||||
console.error(e);
|
||||
toasts.danger({
|
||||
title: "최근 정보 갱신 실패",
|
||||
|
||||
Reference in New Issue
Block a user