修正配置参数问题

This commit is contained in:
yangjiewei
2025-07-11 17:34:09 +08:00
parent 108689ab79
commit 33f609c270
2 changed files with 13 additions and 9 deletions

16
.vscode/settings.json vendored
View File

@ -86,13 +86,13 @@
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit" "source.fixAll.eslint": "explicit"
}, },
"[vue]": { // "[vue]": {
"editor.codeActionsOnSave": { // "editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit", // "source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit" // "source.fixAll.stylelint": "explicit"
}, // },
"editor.defaultFormatter": "esbenp.prettier-vscode" // "editor.defaultFormatter": "esbenp.prettier-vscode"
}, // },
"i18n-ally.localesPaths": ["src/locales/lang"], "i18n-ally.localesPaths": ["src/locales/lang"],
"i18n-ally.keystyle": "nested", "i18n-ally.keystyle": "nested",
"i18n-ally.sortKeys": true, "i18n-ally.sortKeys": true,
@ -137,6 +137,8 @@
"pnpm", "pnpm",
"antd" "antd"
], ],
// "files.autoSave": "onFocusChange",
// "editor.formatOnSave": true,
"eslint.codeActionsOnSave.rules": null, "eslint.codeActionsOnSave.rules": null,
"vue3snippets.enable-compile-vue-file-on-did-save-code": false "vue3snippets.enable-compile-vue-file-on-did-save-code": false
} }

6
types/config.d.ts vendored
View File

@ -140,7 +140,7 @@ export interface GlobConfig {
urlPrefix?: string; urlPrefix?: string;
// Project abbreviation // Project abbreviation
shortName: string; shortName: string;
tenantEnabled: boolean; tenantEnabled: boolean;
// outlink // outlink
outLink?: string; outLink?: string;
//print url //print url
@ -163,8 +163,10 @@ export interface GlobEnvConfig {
//file preview //file preview
VITE_GLOB_UPLOAD_PREVIEW?: string; VITE_GLOB_UPLOAD_PREVIEW?: string;
VITE_GLOB_REPORT_URL: string; VITE_GLOB_REPORT_URL: string;
VITE_GLOB_TENANT_ENABLED: boolean; VITE_GLOB_TENANT_ENABLED: boolean;
VITE_GLOB_DISABLE_NEWS: boolean;
VITE_GLOB_CLOSE_ALERT_DISABLED: boolean; VITE_GLOB_CLOSE_ALERT_DISABLED: boolean;
VITE_GLOB_TENANT_INPUT_REQUIRED: boolean;
} }
export interface LogoConfig { export interface LogoConfig {