第一次上传

This commit is contained in:
xxk
2026-06-11 10:31:24 +08:00
commit cfef094568
1523 changed files with 210650 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
/// <reference types="vite/client" />
/**
* Vite 环境变量类型定义
*/
interface ImportMetaEnv {
readonly VITE_APP_PORT: number;
readonly VITE_APP_NAME: string;
readonly VITE_APP_BASE_API: string;
readonly VITE_APP_API_URL: string;
readonly VITE_APP_TITLE?: string;
readonly VITE_APP_TENANT_ENABLED?: string;
readonly VITE_MOCK_DEV_SERVER: boolean;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare const __APP_INFO__: {
pkg: {
name: string;
version: string;
engines: {
node: string;
};
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};
buildTimestamp: number;
};
+14
View File
@@ -0,0 +1,14 @@
/**
* 第三方模块类型声明
*/
declare module "*.vue" {
import type { DefineComponent } from "vue";
const component: DefineComponent<{}, {}, any>;
export default component;
}
declare module "sockjs-client/dist/sockjs.min.js" {
import Client from "sockjs-client";
export default Client;
}
+17
View File
@@ -0,0 +1,17 @@
/**
* Vue Router 类型扩展
*/
import "vue-router";
declare module "vue-router" {
interface RouteMeta {
title?: string;
icon?: string;
hidden?: boolean;
alwaysShow?: boolean;
affix?: boolean;
keepAlive?: boolean;
breadcrumb?: boolean;
activeMenu?: string;
}
}