From e5c50e48d3f7b19c358b21855df587d6f313096d Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 13 Jul 2022 22:37:37 +0900 Subject: [PATCH] refac: defineComponent => vue3 setup --- hwe/ts/processing/General/che_건국.vue | 83 +++----- hwe/ts/processing/General/che_군량매매.vue | 62 +++--- hwe/ts/processing/General/che_등용.vue | 78 +++---- hwe/ts/processing/General/che_선양.vue | 69 +++--- hwe/ts/processing/General/che_숙련전환.vue | 198 ++++++++---------- hwe/ts/processing/General/che_임관.vue | 79 +++---- .../processing/General/che_장수대상임관.vue | 108 ++++------ hwe/ts/processing/General/che_징병.vue | 60 +++--- hwe/ts/processing/General/che_헌납.vue | 90 +++----- hwe/ts/processing/Nation/che_국기변경.vue | 73 +++---- hwe/ts/processing/Nation/che_국호변경.vue | 61 ++---- hwe/ts/processing/SelectNation.vue | 126 +++++------ 12 files changed, 452 insertions(+), 635 deletions(-) diff --git a/hwe/ts/processing/General/che_건국.vue b/hwe/ts/processing/General/che_건국.vue index d6143493..72339298 100644 --- a/hwe/ts/processing/General/che_건국.vue +++ b/hwe/ts/processing/General/che_건국.vue @@ -34,64 +34,49 @@ + diff --git a/hwe/ts/processing/General/che_군량매매.vue b/hwe/ts/processing/General/che_군량매매.vue index a8fc7be3..7d3440b7 100644 --- a/hwe/ts/processing/General/che_군량매매.vue +++ b/hwe/ts/processing/General/che_군량매매.vue @@ -25,49 +25,39 @@ + diff --git a/hwe/ts/processing/General/che_등용.vue b/hwe/ts/processing/General/che_등용.vue index 7e7ad996..92f358c7 100644 --- a/hwe/ts/processing/General/che_등용.vue +++ b/hwe/ts/processing/General/che_등용.vue @@ -28,8 +28,19 @@ + diff --git a/hwe/ts/processing/General/che_선양.vue b/hwe/ts/processing/General/che_선양.vue index 3048fdf4..cb00c2ac 100644 --- a/hwe/ts/processing/General/che_선양.vue +++ b/hwe/ts/processing/General/che_선양.vue @@ -31,8 +31,19 @@ + + diff --git a/hwe/ts/processing/General/che_숙련전환.vue b/hwe/ts/processing/General/che_숙련전환.vue index 0767854e..e31e817d 100644 --- a/hwe/ts/processing/General/che_숙련전환.vue +++ b/hwe/ts/processing/General/che_숙련전환.vue @@ -92,143 +92,119 @@ -export default defineComponent({ - components: { - TopBackBar, - BottomBar, - }, - setup() { - const srcArmTypeID = ref(procRes.ownDexList[0].armType); - const destArmTypeID = ref(procRes.ownDexList[0].armType); + diff --git a/hwe/ts/processing/General/che_임관.vue b/hwe/ts/processing/General/che_임관.vue index df32a3c5..83d933a9 100644 --- a/hwe/ts/processing/General/che_임관.vue +++ b/hwe/ts/processing/General/che_임관.vue @@ -3,13 +3,13 @@
국가에 임관합니다. -
+
이미 임관/등용되었던 국가는 다시 임관할 수 없습니다. -
+
바로 군주의 위치로 이동합니다. -
+
임관할 국가를 목록에서 선택하세요. -
+
@@ -64,60 +64,43 @@ + + \ No newline at end of file + diff --git a/hwe/ts/processing/General/che_장수대상임관.vue b/hwe/ts/processing/General/che_장수대상임관.vue index c644fe57..15ae515c 100644 --- a/hwe/ts/processing/General/che_장수대상임관.vue +++ b/hwe/ts/processing/General/che_장수대상임관.vue @@ -1,14 +1,11 @@ + + \ No newline at end of file + diff --git a/hwe/ts/processing/General/che_징병.vue b/hwe/ts/processing/General/che_징병.vue index 8d7cc8fd..1c048c00 100644 --- a/hwe/ts/processing/General/che_징병.vue +++ b/hwe/ts/processing/General/che_징병.vue @@ -230,14 +230,9 @@ -export default defineComponent({ - components: { - CrewTypeItem, - TopBackBar, - BottomBar, - }, - setup() { - const amount = ref(procRes.fullLeadership - Math.floor(procRes.crew / 100)); +