diff --git a/packages-user/client-modules/src/ui/save.tsx b/packages-user/client-modules/src/ui/save.tsx index 8818a72..46d8a51 100644 --- a/packages-user/client-modules/src/ui/save.tsx +++ b/packages-user/client-modules/src/ui/save.tsx @@ -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, diff --git a/packages-user/client-modules/src/ui/statistics.tsx b/packages-user/client-modules/src/ui/statistics.tsx index ab990d1..d5c8102 100644 --- a/packages-user/client-modules/src/ui/statistics.tsx +++ b/packages-user/client-modules/src/ui/statistics.tsx @@ -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) { +export async function openStatistics( + controller: IUIController +) { const cal = Promise.resolve().then(() => { return new Promise(res => { const data = calculateStatistics();