fix: 되돌아가기 위치 문제 수정

This commit is contained in:
2021-12-23 03:16:24 +09:00
parent ffabe96b15
commit 0adaf7d6c4
18 changed files with 42 additions and 23 deletions
+18 -4
View File
@@ -1,5 +1,9 @@
<template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" />
<TopBackBar
:title="commandName"
:type="procEntryMode"
v-model:searchable="searchable"
/>
<div class="bg0">
<MapLegacyTemplate
:isDetailMap="false"
@@ -54,14 +58,18 @@
<div class="row">
<div class="col-6 col-md-3">
국가 :
<SelectNation :nations="nationList" v-model="selectedNationID" :searchable="searchable" />
<SelectNation
:nations="nationList"
v-model="selectedNationID"
:searchable="searchable"
/>
</div>
<div class="col-4 col-md-2 d-grid">
<b-button @click="submit">{{ commandName }}</b-button>
</div>
</div>
</div>
<BottomBar :title="commandName" />
<BottomBar :title="commandName" :type="procEntryMode" />
</template>
<script lang="ts">
@@ -74,9 +82,14 @@ import { unwrap } from "@/util/unwrap";
import { Args } from "@/processing/args";
import TopBackBar from "@/components/TopBackBar.vue";
import BottomBar from "@/components/BottomBar.vue";
import { getProcSearchable, procNationItem, procNationList } from "./processingRes";
import {
getProcSearchable,
procNationItem,
procNationList,
} from "./processingRes";
declare const mapTheme: string;
declare const commandName: string;
declare const entryInfo: ['General'|'Nation', unknown];
declare const procRes: {
nationList: procNationList;
@@ -121,6 +134,7 @@ export default defineComponent({
}
return {
procEntryMode: entryInfo[0] == "Nation" ? "chief" : "normal",
searchable: getProcSearchable(),
startYear: procRes.startYear,
mapTheme: ref(mapTheme),