项目初始化

This commit is contained in:
2026-03-19 10:57:24 +08:00
commit ee94d420ad
3822 changed files with 582614 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
export const env = import.meta.env;
export function warn(message: string) {
console.warn(`[${env.VITE_GLOB_APP_TITLE} warn]:${message}`);
}
export function error(message: string) {
throw new Error(`[${env.VITE_GLOB_APP_TITLE} error]:${message}`);
}