diff --git a/.env b/.env index ca0ef89..625f0f1 100644 --- a/.env +++ b/.env @@ -6,9 +6,3 @@ VITE_GLOB_APP_TITLE = Fast Iot Web # 简称,用于配置文件名字 不要出现空格、数字开头等特殊字符 VITE_GLOB_APP_SHORT_NAME = FAST_IOT_Admin - -# 租户开关 -VITE_GLOB_APP_TENANT_ENABLE = true - -# 验证码的开关 -VITE_GLOB_APP_CAPTCHA_ENABLE = true diff --git a/.env.development b/.env.development index f879ec0..0011e52 100644 --- a/.env.development +++ b/.env.development @@ -7,13 +7,13 @@ VITE_PUBLIC_PATH = / # 本地开发代理,可以解决跨域及多地址代理 # 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题 # 可以有多个,注意多个不能换行,否则代理将会失效 -VITE_PROXY = [["/dev-api","192.168.1.100:48081/admin-api"],["/upload","192.168.1.100:48081/admin-api/infra/file/upload"]] +VITE_PROXY = [] # 是否删除Console.log VITE_DROP_CONSOLE = false # 接口地址,如果没有跨域问题,直接在这里配置即可 -VITE_GLOB_API_URL = /dev-api +VITE_GLOB_API_URL = http://192.168.1.100:48081/admin-api # 文件上传接口 可选 VITE_GLOB_UPLOAD_URL = /upload diff --git a/.env.production b/.env.production index 19c3b92..4e1815f 100644 --- a/.env.production +++ b/.env.production @@ -13,7 +13,7 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false # 接口地址 可以由nginx做转发或者直接写实际地址 -VITE_GLOB_API_URL = http://localhost:48080/admin-api +VITE_GLOB_API_URL = /admin-api # 文件上传地址 可以由nginx做转发或者直接写实际地址 VITE_GLOB_UPLOAD_URL = /upload diff --git a/.vscode/settings.json b/.vscode/settings.json index 200997c..bd2cb38 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -74,5 +74,10 @@ "vuedraggable", "vueuse" ], - "terminal.integrated.scrollback": 10000 + "terminal.integrated.scrollback": 10000, + "i18n-ally.localesPaths": [ + "src/locales", + "src/locales/lang", + "public/resource/tinymce/langs" + ] } diff --git a/eslint.config.js b/eslint.config.js index 0e003f5..840142a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -9,6 +9,7 @@ export default antfu( 'vue/custom-event-name-casing': 'off', 'vue/component-name-in-template-casing': 'off', 'vue/require-toggle-inside-transition': 'off', + 'ts/no-use-before-define': 'off', }, }, unocss.configs.flat, diff --git a/src/App.vue b/src/App.vue index 9bc36ca..e8dc619 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,9 @@