chore: 清理冗余配置、优化代码结构

- 移除 SSE 独立代理(VITE_APP_SSE_URL)及相关配置
- 删除 CHANGELOG.md,清理 .env 多余注释
- 重构 permission.ts 路由守卫,用 return 替代 next() 调用
- 优化 useSse.ts:合并重复逻辑、增加中文注释、调整重连参数
- 简化 vite.config.ts 代理和注释
This commit is contained in:
Ray.Hao
2026-03-27 09:03:26 +08:00
parent 8f15098042
commit 764e6582f2
11 changed files with 668 additions and 2000 deletions

View File

@@ -52,10 +52,10 @@
"@wangeditor-next/editor-for-vue": "^5.1.14",
"animate.css": "^4.1.1",
"axios": "^1.13.6",
"codemirror": "^5.65.21",
"codemirror": "^5.65.16",
"codemirror-editor-vue3": "^2.8.0",
"echarts": "^6.0.0",
"element-plus": "^2.13.5",
"element-plus": "^2.13.6",
"exceljs": "^4.4.0",
"lodash-es": "^4.17.23",
"nprogress": "^0.2.0",
@@ -82,8 +82,6 @@
"@types/path-browserify": "^1.0.3",
"@types/qs": "^6.15.0",
"@types/sortablejs": "^1.15.9",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitejs/plugin-vue": "^6.0.5",
"autoprefixer": "^10.4.27",
"commitizen": "^4.3.1",
@@ -94,6 +92,7 @@
"eslint-plugin-vue": "^10.8.0",
"globals": "^17.4.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.4.0",
"postcss": "^8.5.8",
"postcss-html": "^1.8.1",
@@ -109,13 +108,12 @@
"stylelint-prettier": "^5.0.3",
"terser": "^5.46.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.0",
"typescript-eslint": "^8.57.2",
"unocss": "^66.6.6",
"unplugin-auto-import": "^21.0.0",
"unplugin-vue-components": "^31.0.0",
"unplugin-vue-components": "^32.0.0",
"vite": "^8.0.0",
"vite-plugin-mock-dev-server": "^2.1.0",
"vue-eslint-parser": "^10.4.0",
"vite-plugin-mock-dev-server": "^2.1.1",
"vue-tsc": "^3.2.5"
},
"engines": {