feat(WIP): processing에서 vue 객체 통합, lazy loading
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
<template>
|
||||
<TopBackBar :title="commandName" type="chief" />
|
||||
<div class="bg0">
|
||||
<div>
|
||||
<div v-if="commandName=='몰수'">
|
||||
장수의 자금이나 군량을 몰수합니다.<br />
|
||||
몰수한것은 국가재산으로 귀속됩니다.<br />
|
||||
</div>
|
||||
<div v-else-if="commandName=='포상'">
|
||||
국고로 장수에게 자금이나 군량을 지급합니다.<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-5">
|
||||
<GeneralSelect
|
||||
@@ -42,7 +45,6 @@ import {
|
||||
procGeneralItem,
|
||||
procGeneralKeyList,
|
||||
procGeneralRawItemList,
|
||||
procTroopList,
|
||||
} from "../processingRes";
|
||||
import { getNpcColor } from "@/common_legacy";
|
||||
declare const commandName: string;
|
||||
|
||||
@@ -54,7 +54,7 @@ import {
|
||||
procGeneralRawItemList,
|
||||
procTroopList,
|
||||
} from "../processingRes";
|
||||
import { convertDictById, getNpcColor } from "@/common_legacy";
|
||||
import { getNpcColor } from "@/common_legacy";
|
||||
declare const mapTheme: string;
|
||||
declare const currentCity: number;
|
||||
declare const commandName: string;
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
export { default as che_국기변경 } from "./che_국기변경.vue";
|
||||
export { default as che_국호변경 } from "./che_국호변경.vue";
|
||||
export { default as che_급습 } from "./che_급습.vue";
|
||||
export { default as che_몰수 } from "./che_몰수.vue";
|
||||
export { default as che_발령 } from "./che_발령.vue";
|
||||
import { default as che_국기변경 } from "./che_국기변경.vue";
|
||||
import { default as che_국호변경 } from "./che_국호변경.vue";
|
||||
import { default as NationProcess } from "./che_급습.vue";
|
||||
import { default as GeneralAmountProcess } from "./che_몰수.vue";
|
||||
import { default as GeneralCityProcess } from "./che_발령.vue";
|
||||
|
||||
export const commandMap: Record<string, ()=>typeof NationProcess> = {
|
||||
che_국기변경: ()=>che_국기변경,
|
||||
che_국호변경: ()=>che_국호변경,
|
||||
che_급습: ()=>NationProcess,
|
||||
che_몰수: ()=>GeneralAmountProcess,
|
||||
che_포상: ()=>GeneralAmountProcess,
|
||||
che_발령: ()=>GeneralCityProcess,
|
||||
}
|
||||
Reference in New Issue
Block a user