style: prettier

This commit is contained in:
unanmed 2026-10-10 15:20:58 +08:00
parent cdfe7ffc76
commit a2dd4ace72
2 changed files with 16 additions and 3 deletions

View File

@ -13,7 +13,13 @@ import {
onMounted,
shallowReactive
} from 'vue';
import { getConfirm, Page, PageExpose, Thumbnail, IGameUIPropsBase } from '@user/client-base';
import {
getConfirm,
Page,
PageExpose,
Thumbnail,
IGameUIPropsBase
} from '@user/client-base';
import { useKey } from '../render/use';
import {
HALF_HEIGHT,

View File

@ -5,7 +5,12 @@ import {
IUIDefaultPropsBase
} from '@motajs/system';
import { defineComponent } from 'vue';
import { waitbox, ListPage, TextContent, IGameUIPropsBase } from '@user/client-base';
import {
waitbox,
ListPage,
TextContent,
IGameUIPropsBase
} from '@user/client-base';
import { DefaultProps } from '@motajs/render-vue';
// @ts-expect-error 需要重构
import { ItemState } from '@user/data-state';
@ -280,7 +285,9 @@ export function calculateStatistics(): StatisticsData {
* 打开数据统计界面
* @param controller 要在哪个 UI 控制器上打开
*/
export async function openStatistics(controller: IUIController<IGameUIPropsBase>) {
export async function openStatistics(
controller: IUIController<IGameUIPropsBase>
) {
const cal = Promise.resolve().then<StatisticsData>(() => {
return new Promise(res => {
const data = calculateStatistics();