fix: 국가 선택 버그 수정, 몰수 type warning 제거

This commit is contained in:
2021-12-21 21:55:05 +09:00
parent b23004c184
commit 081d40cf82
3 changed files with 8 additions and 4 deletions
@@ -51,7 +51,6 @@ import TopBackBar from "@/components/TopBackBar.vue";
import BottomBar from "@/components/BottomBar.vue";
import { procNationItem, procNationList } from "../processingRes";
declare const mapTheme: string;
declare const currentNation: number;
declare const commandName: string;
declare const procRes: {
@@ -81,6 +80,7 @@ export default defineComponent({
}
const selectedNationID = ref(procRes.nations[0].id);
const selectedCityObj = ref();//mapping용
function selectedNation(nationID: number) {
selectedNationID.value = nationID;
@@ -96,8 +96,10 @@ export default defineComponent({
}
return {
startYear: procRes.startYear,
mapTheme: ref(mapTheme),
nations: ref(nations),
selectedCityObj,
selectedNationID,
commandName,
selectedNation,