feat:多项功能优化

This commit is contained in:
zhoujianjin
2026-09-18 18:54:54 +08:00
parent 672cd23329
commit 543655d441
48 changed files with 1289 additions and 447 deletions
+6 -1
View File
@@ -14,7 +14,12 @@ export default defineConfig({
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8891',
target: 'http://localhost:8890',
changeOrigin: true
},
// 附件静态文件(PDF/图片预览):与 API 同源,避免开发态下 /uploads 打到 Vite 而 404
'/uploads': {
target: 'http://localhost:8890',
changeOrigin: true
}
}