use async load

This commit is contained in:
Timi
2026-09-12 15:07:43 +08:00
parent 10a77a9d1b
commit 13a1160ad2
24 changed files with 169 additions and 227 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { MessagePlugin as TDesignMessage } from "tdesign-mobile-vue";
import { MessagePlugin as TDesignMessage } from "tdesign-mobile-vue/es/message";
import type { MessagePluginOptions } from "tdesign-mobile-vue/es/message/message";
/** Message 支持的调用参数。 */
+2 -1
View File
@@ -1,6 +1,7 @@
import type { StoreBusinessDayStatus, StoreStatus } from "@/types/Store";
import { permissionCodes } from "@/utils/permission";
import { type Page, useUserStore } from "timi-web-api";
import type { Page } from "timi-web-api/types";
import { useUserStore } from "timi-web-api/store";
export const currentStoreIdStorageKey = "gao-customer-h5:current-store-id";
export const loginStoreIdStorageKey = "gao-customer-h5:login-store-id";
+17
View File
@@ -0,0 +1,17 @@
/**
* 客户端实际使用的 timi-web 能力出口。
*
* 不从 timi-web 根入口导入,避免把编辑器、弹窗和未使用组件带入公共包。
*/
export { default as Captcha } from "../../../timi-web/src/components/captcha";
export { default as ContactNumber } from "../../../timi-web/src/components/contact-number";
export { default as Copyright } from "../../../timi-web/src/components/copyright";
export { default as MarkdownEditor } from "../../../timi-web/src/components/markdown-editor";
export { default as MarkdownView } from "../../../timi-web/src/components/markdown-view";
export { default as PassTimeLabel } from "../../../timi-web/src/components/passtime-label";
export { default as Cooker } from "../../../timi-web/src/utils/Cooker";
export { default as Storage } from "../../../timi-web/src/utils/Storage";
export { default as WebToolkit } from "../../../timi-web/src/utils/WebToolkit";
export { Text, Time, Toolkit } from "../../../timi-ts/src/index";