diff --git a/.env.development b/.env.development index 488868cb880b93806f257908538d258cdcf17e30..cd60e5f0d691d7020b0bc81c6195f3b8f149e426 100644 --- a/.env.development +++ b/.env.development @@ -13,4 +13,4 @@ VITE_APP_ROUTER_PREFIX = '/' VITE_APP_UPLOAD_URL = '/Common/UploadFile' #socket API -VITE_APP_SOCKET_API = '/msghub' \ No newline at end of file +VITE_APP_SOCKET_API = '/msghub' diff --git a/.env.production b/.env.production index 069cc4892b9814af3d141ce0ce8581a2930e306d..c24c62b2ded1df33f356e261be2763abf3ce7e58 100644 --- a/.env.production +++ b/.env.production @@ -12,4 +12,4 @@ VITE_APP_ROUTER_PREFIX = '/' VITE_APP_UPLOAD_URL = '/Common/UploadFile' #socket API -VITE_APP_SOCKET_API = '/msghub' \ No newline at end of file +VITE_APP_SOCKET_API = '/msghub' diff --git a/.vscode/settings.json b/.vscode/settings.json index fff106cdab10efafc49416930e400c0ceca89e3a..08bb1c373d653fbb92f02f77fa41c77332f4c063 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,11 +5,7 @@ "editor.formatOnPaste": true, "editor.formatOnType": true, // 配置eslint适用于vue代码 - "eslint.validate": [ - "javascript", - "typescript", - "vue" - ], + "eslint.validate": ["javascript", "typescript", "vue"], "[vue]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -27,7 +23,7 @@ // 保存时自动启用 eslint --fix 自动修复 "editor.codeActionsOnSave": { "source.fixAll": true, - "eslint.autoFixOnSave": true, + "eslint.autoFixOnSave": true }, "eslint.options": { "overrideConfig": { @@ -49,11 +45,7 @@ }, "i18n-ally.displayLanguage": "zh-cn", "i18n-ally.enabledParsers": ["json", "js"], - "i18n-ally.localesPaths": [ - "src/i18n/lang", - "src/i18n/pages/login", - "src/i18n/pages/menu", - ], + "i18n-ally.localesPaths": ["src/i18n/lang", "src/i18n/pages/login", "src/i18n/pages/menu"], "i18n-ally.extract.parsers.html": { "attributes": ["text", "title", "alt", "placeholder", "label", "aria-label"], "ignoredTags": ["script", "style"], @@ -61,4 +53,5 @@ "inlineText": true }, "i18n-ally.keystyle": "nested", -} \ No newline at end of file + "typescript.tsdk": "node_modules/typescript/lib" +} diff --git a/index.html b/index.html index 2f874e45cdafb9c774ecb7714c9fd7f4d1dbed9c..c13907a214536dbb26a1766da242ff6dd5f4f214 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,16 @@