fix: 메인, 사령부의 alert를 toast로 이동

This commit is contained in:
2023-03-12 17:32:00 +09:00
parent ae76ce0abd
commit c88e3d1bfe
5 changed files with 75 additions and 17 deletions
+6 -2
View File
@@ -1,5 +1,5 @@
<template>
<div id="container" class="pageChiefCenter">
<BContainer id="container" class="pageChiefCenter" :toast="{ root: true }">
<TopBackBar title="사령부" reloadable @reload="reloadTable" />
<div
@@ -56,7 +56,7 @@
</div>
</template>
</div>
</div>
</BContainer>
<div v-if="chiefList" id="bottomChiefBox">
<div id="bottomChiefList" class="c-bg2">
<template v-for="(chiefLevel, vidx) in [12, 10, 8, 6, 11, 9, 7, 5]" :key="chiefLevel">
@@ -113,11 +113,15 @@ import { StoredActionsHelper } from "./util/StoredActionsHelper";
import type { ChiefResponse } from "./defs/API/NationCommand";
import { getGameConstStore, type GameConstStore } from "./GameConstStore";
import { postFilterNationCommandGen } from "./utilGame/postFilterNationCommandGen";
import { useToast } from "bootstrap-vue-3";
const props = defineProps({
maxChiefTurn: VueTypes.number.isRequired,
});
const toasts = unwrap(useToast());
const asyncReady = ref<boolean>(false);
const gameConstStore = ref<GameConstStore>();
provide("gameConstStore", gameConstStore);