chore: 暂时删除数据统计

This commit is contained in:
unanmed 2025-10-01 12:52:56 +08:00
parent 6891062351
commit 4d7ec615bb
5 changed files with 8 additions and 12 deletions

View File

@ -76,11 +76,6 @@ gameKey
name: '快捷商店',
defaults: KeyCode.KeyV
})
.register({
id: 'statistics',
name: '数据统计',
defaults: KeyCode.KeyB
})
.register({
id: 'viewMap_1',
name: '浏览地图_1',

View File

@ -3,7 +3,6 @@ import { MAIN_WIDTH, MAIN_HEIGHT, POP_BOX_WIDTH, CENTER_LOC } from './shared';
import {
saveSave,
mainUIController,
openStatistics,
saveLoad,
openSettings,
ReplaySettingsUI,
@ -16,9 +15,6 @@ export function createAction() {
.realize('save', () => {
saveSave(mainUIController, [0, 0, MAIN_WIDTH, MAIN_HEIGHT]);
})
.realize('statistics', () => {
openStatistics(mainUIController);
})
.realize('load', () => {
saveLoad(mainUIController, [0, 0, MAIN_WIDTH, MAIN_HEIGHT]);
})

View File

@ -8,7 +8,6 @@ export * from './controller';
export * from './main';
export * from './save';
export * from './settings';
export * from './statistics';
export * from './statusBar';
export * from './toolbar';
export * from './viewmap';

View File

@ -20,7 +20,6 @@ import { generateKeyboardEvent } from '@motajs/system-action';
import { getVitualKeyOnce } from '@motajs/legacy-ui';
import { getAllSavesData, getSaveData, syncFromServer } from '../utils';
import { getInput } from '../components';
import { openStatistics } from './statistics';
import { saveWithExist } from './save';
import { compressToBase64 } from 'lz-string';
import { ViewMapUI } from './viewmap';
@ -276,7 +275,12 @@ export const GameInfo = defineComponent<MainSettingsProps>(props => {
const choose = async (key: ChoiceKey) => {
switch (key) {
case GameInfoChoice.Statistics: {
openStatistics(props.controller);
getConfirm(
props.controller,
'数据统计尚未完工',
CENTER_LOC,
POP_BOX_WIDTH
);
break;
}
case GameInfoChoice.Project: {

View File

@ -9,6 +9,8 @@ import { waitbox, ListPage, TextContent } from '../components';
import { DefaultProps } from '@motajs/render-vue';
import { ItemState } from '@user/data-state';
// 未完工
export interface StatisticsDataOneFloor {
enemyCount: number;
potionCount: number;