feat: 사령부에서 다른 수뇌의 턴을 '복사하기' 기능
This commit is contained in:
@@ -38,9 +38,6 @@
|
||||
/>
|
||||
<ChiefReservedCommand
|
||||
v-else
|
||||
:serverNick="serverNick"
|
||||
:mapName="mapName"
|
||||
:unitSet="unitSet"
|
||||
:key="idx"
|
||||
:targetIsMe="targetIsMe"
|
||||
:year="year"
|
||||
@@ -113,7 +110,7 @@ import "@scss/common/bootstrap5.scss";
|
||||
import "@scss/game_bg.scss";
|
||||
import "../../css/config.css";
|
||||
|
||||
import { computed, defineProps, reactive, ref, toRefs, watch } from "vue";
|
||||
import { computed, defineProps, provide, reactive, ref, toRefs, watch } from "vue";
|
||||
import ChiefReservedCommand from "@/components/ChiefReservedCommand.vue";
|
||||
import TopBackBar from "@/components/TopBackBar.vue";
|
||||
import BottomBar from "@/components/BottomBar.vue";
|
||||
@@ -126,6 +123,7 @@ import BottomItem from "@/ChiefCenter/BottomItem.vue";
|
||||
import type { ChiefResponse, OptionalFull } from "./defs";
|
||||
import { SammoAPI } from "./SammoAPI";
|
||||
import { unwrap } from "@/util/unwrap";
|
||||
import { StoredActionsHelper } from "./util/StoredActionsHelper";
|
||||
|
||||
const {
|
||||
serverNick,
|
||||
@@ -236,6 +234,8 @@ const subTableGridRows = computed(() => {
|
||||
|
||||
void reloadTable();
|
||||
|
||||
const storedActionsHelper = new StoredActionsHelper(staticValues.serverNick, 'nation', staticValues.mapName, staticValues.unitSet);
|
||||
provide('storedNationActionsHelper', storedActionsHelper);
|
||||
|
||||
</script>
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user