10/10
1. 设备管理界面完成 2. 用户管理界面完成 3. 会话列表完成
This commit is contained in:
15
src/types/env.d.ts
vendored
15
src/types/env.d.ts
vendored
@@ -1,11 +1,13 @@
|
||||
declare module '*.vue' {
|
||||
import { DefineComponent } from 'vue';
|
||||
import {DefineComponent} from 'vue';
|
||||
const Component: DefineComponent<{}, {}, any>;
|
||||
export default Component;
|
||||
}
|
||||
|
||||
declare module 'virtual:svg-icons-register' {}
|
||||
declare module 'virtual:*' {}
|
||||
declare module 'virtual:svg-icons-register' {
|
||||
}
|
||||
declare module 'virtual:*' {
|
||||
}
|
||||
|
||||
// 环境变量
|
||||
interface ImportMetaEnv {
|
||||
@@ -24,8 +26,15 @@ interface ImportMetaEnv {
|
||||
VITE_APP_CLIENT_ID: string;
|
||||
VITE_APP_MESSAGE_ENABLED: string;
|
||||
VITE_APP_MESSAGE_TRANSPORT: string;
|
||||
/** 默认图片 */
|
||||
VITE_DEFAULT_USER_IMAGE?: string;
|
||||
/** 本机环境 */
|
||||
VITE_LOCALHOUSET?: string;
|
||||
/** 基础地址 */
|
||||
VITE_BASE_API?: string;
|
||||
VITE_APP_MESSAGE_PATH: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
// readonly glob: any;
|
||||
|
||||
Reference in New Issue
Block a user