diff --git a/hwe/ts/PageFront.vue b/hwe/ts/PageFront.vue
index 0d1c7109..804847fa 100644
--- a/hwe/ts/PageFront.vue
+++ b/hwe/ts/PageFront.vue
@@ -61,7 +61,10 @@
@@ -215,7 +218,7 @@ import CityBasicCard from "./components/CityBasicCard.vue";
import NationBasicCard from "./components/NationBasicCard.vue";
import GeneralBasicCard from "./components/GeneralBasicCard.vue";
import MessagePanel from "./components/MessagePanel.vue";
-import type { GeneralListItemP1 } from "./defs/API/Nation";
+import type { NationInfoFull } from "./defs/API/Nation";
import type { MapResult, NationStaticItem } from "./defs";
import { formatTime } from "./util/formatTime";
import { calcTournamentTerm } from "./utilGame";
@@ -428,7 +431,7 @@ const frontInfo = ref();
const globalInfo = ref({} as GetFrontInfoResponse["global"]);
const generalInfo = ref();
const nationStaticInfo = ref();
-
+const nationInfo = ref();
let generalInfoLock = false;
watch(refreshCounter, async () => {
@@ -470,6 +473,23 @@ watch(refreshCounter, async () => {
}
});
+watch(refreshCounter, async () => {
+ try {
+ const response = await SammoAPI.Nation.GetNationInfo({full: true});
+ console.log('nation', response);
+ if(!response.isFull){
+ throw 'NationInfo 반환값 에러';
+ }
+ nationInfo.value = response;
+ } catch (e) {
+ console.error(e);
+ toasts.danger({
+ title: "국가 정보 갱신 실패",
+ body: `${e}`,
+ });
+ }
+});
+
const map = ref();
const cityPosition = getCityPosition();
@@ -532,6 +552,12 @@ watch(refreshCounter, async () => {
display: grid;
}
+.nationNoticeBody{
+ :deep(p) {
+ min-height: 1em;
+ }
+}
+
@include media-500px {
#outBlock {
position: absolute;