diff --git a/hwe/ts/GameConstStore.ts b/hwe/ts/GameConstStore.ts index 140fb1a6..523b4bb0 100644 --- a/hwe/ts/GameConstStore.ts +++ b/hwe/ts/GameConstStore.ts @@ -18,6 +18,7 @@ export class GameConstStore { > >; public readonly iActionKeyMap: Record; + public readonly version: string; constructor(response: GetConstResponse) { const data = response.data; @@ -27,6 +28,7 @@ export class GameConstStore { this.cityConstMap = Object.freeze(data.cityConstMap); this.iActionInfo = Object.freeze(data.iActionInfo); this.iActionKeyMap = Object.freeze(data.iActionKeyMap); + this.version = Object.freeze(data.version); } } diff --git a/hwe/ts/PageFront.vue b/hwe/ts/PageFront.vue index 951b8839..9c6c0469 100644 --- a/hwe/ts/PageFront.vue +++ b/hwe/ts/PageFront.vue @@ -165,6 +165,12 @@ :globalMenu="globalMenu" @refresh="tryRefresh" /> + + {{ gameConstStore?.gameConst.title }}
+ {{ gameConstStore?.version }}
+ + +