perf: 优化管理端生产加载体验

- 图标与重型组件按需加载,优化菜单预取和页面请求链路

- 开启 gzip 与静态缓存并修复子路由 KeepAlive 冲突
This commit is contained in:
2026-07-22 20:35:55 +08:00
parent 9f06c238d3
commit 19059fde96
27 changed files with 750 additions and 233 deletions

View File

@@ -4,7 +4,7 @@ VITE_BASE=/flow/
VITE_GLOB_API_URL=/flow
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
VITE_COMPRESS=gzip
# 是否开启 PWA
VITE_PWA=false