feat: 사령부에서 다른 수뇌의 턴을 '복사하기' 기능

This commit is contained in:
2022-03-26 23:09:19 +09:00
parent 47a20cf550
commit c7bd18f307
6 changed files with 167 additions and 85 deletions
+4 -4
View File
@@ -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">