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

This commit is contained in:
2021-12-23 03:16:24 +09:00
parent 9b86aaa1bd
commit 6678e87cbf
18 changed files with 42 additions and 23 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
<template>
<TopBackBar :title="commandName" v-model:searchable="searchable" />
<TopBackBar :title="commandName" :type="procEntryMode" v-model:searchable="searchable" />
<div class="bg0">
<MapLegacyTemplate
:isDetailMap="false"
@@ -77,7 +77,7 @@
@selected="selected"
/>
</div>
<BottomBar :title="commandName" />
<BottomBar :title="commandName" :type="procEntryMode" />
</template>
<script lang="ts">
@@ -100,6 +100,8 @@ declare const procRes: {
distanceList: Record<number, number[]>;
cities: [number, string][];
};
declare const entryInfo: ['General'|'Nation', unknown];
export default defineComponent({
components: {
MapLegacyTemplate,
@@ -141,6 +143,7 @@ export default defineComponent({
}
return {
procEntryMode: entryInfo[0] == 'Nation'?'chief':'normal',
searchable: getProcSearchable(),
mapTheme: ref(mapTheme),
citiesMap: ref(citiesMap),