feat: 优化前端布局和代理配置

refactor: 移除调试日志并优化代码结构
style: 调整响应式设计和UI细节
fix: 修复路由和导航相关的问题
This commit is contained in:
qingfeng1121
2025-12-12 17:14:04 +08:00
parent 07ce8409e1
commit ede67faafd
14 changed files with 296 additions and 128 deletions

View File

@@ -26,7 +26,15 @@ export default defineConfig({
},
},
server: {
host: '0.0.0.0'
host: '0.0.0.0',
proxy: {
// 配置API代理
'/api': {
target: 'http://localhost:7071',
changeOrigin: true,
rewrite: (path) => path
}
}
},
})