refactor:优化 VITE_APP_TENANT_ENABLE、VITE_APP_CAPTCHA_ENABLE 变量的加载,不使用 useAppConfig 处理

This commit is contained in:
YunaiV
2025-04-22 21:18:10 +08:00
parent e9f2b5701c
commit f202e1c69c
13 changed files with 93 additions and 88 deletions

View File

@@ -9,14 +9,10 @@ declare module 'vue-router' {
export interface VbenAdminProAppConfigRaw {
VITE_GLOB_API_URL: string;
VITE_APP_TENANT_ENABLE: boolean;
VITE_APP_CAPTCHA_ENABLE: boolean;
}
export interface ApplicationConfig {
apiURL: string;
captchaEnable: boolean;
tenantEnable: boolean;
}
declare global {