From 33f609c27032401c4f8c4eaf31fd33e384e1d5fe Mon Sep 17 00:00:00 2001 From: yangjiewei <1658539101@qq.com> Date: Fri, 11 Jul 2025 17:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=85=8D=E7=BD=AE=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 16 +++++++++------- types/config.d.ts | 6 ++++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 7f2af8d..83027dc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -86,13 +86,13 @@ "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, - "[vue]": { - "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit", - "source.fixAll.stylelint": "explicit" - }, - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, + // "[vue]": { + // "editor.codeActionsOnSave": { + // "source.fixAll.eslint": "explicit", + // "source.fixAll.stylelint": "explicit" + // }, + // "editor.defaultFormatter": "esbenp.prettier-vscode" + // }, "i18n-ally.localesPaths": ["src/locales/lang"], "i18n-ally.keystyle": "nested", "i18n-ally.sortKeys": true, @@ -137,6 +137,8 @@ "pnpm", "antd" ], + // "files.autoSave": "onFocusChange", + // "editor.formatOnSave": true, "eslint.codeActionsOnSave.rules": null, "vue3snippets.enable-compile-vue-file-on-did-save-code": false } diff --git a/types/config.d.ts b/types/config.d.ts index 5cc77f3..9968e29 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -140,7 +140,7 @@ export interface GlobConfig { urlPrefix?: string; // Project abbreviation shortName: string; - tenantEnabled: boolean; + tenantEnabled: boolean; // outlink outLink?: string; //print url @@ -163,8 +163,10 @@ export interface GlobEnvConfig { //file preview VITE_GLOB_UPLOAD_PREVIEW?: 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_TENANT_INPUT_REQUIRED: boolean; } export interface LogoConfig {