feat: 更新前端和后端配置及依赖项

refactor: 重构代码结构和优化配置

docs: 更新文档和注释内容

build: 更新构建配置和依赖项

ci: 更新CI配置和工作流

chore: 更新杂项配置和脚本

fix: 修复已知问题和错误

style: 优化代码格式和样式

perf: 优化性能和提升执行效率

test: 更新测试用例和配置
This commit is contained in:
zhangtao
2025-08-10 05:45:18 +08:00
parent 190ff7cc90
commit 130038cb11
27 changed files with 2537 additions and 68 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import vue from "@vitejs/plugin-vue";
import { type ConfigEnv, loadEnv, defineConfig } from "vite";
import { type ConfigEnv, type UserConfig, loadEnv, defineConfig, PluginOption } from "vite";
import AutoImport from "unplugin-auto-import/vite";
import Components from "unplugin-vue-components/vite";
@@ -47,7 +47,7 @@ export default defineConfig(({ mode }: ConfigEnv) => {
target: env.VITE_API_BASE_URL, // 代理目标地址:https://后端地址
secure: false, // 请求是否https
changeOrigin: true, // 是否跨域
rewrite: (path) => path.replace(new RegExp("^" + env.VITE_APP_BASE_API), ""),
rewrite: (path: string) => path.replace(new RegExp("^" + env.VITE_APP_BASE_API), ""),
},
},
},