设备管理模块添加

This commit is contained in:
2026-08-28 14:13:18 +08:00
parent 43f1dde4e2
commit 3fda3e821b
18 changed files with 1400 additions and 155 deletions
+5 -1
View File
@@ -12,11 +12,15 @@ export default defineConfig({
server: {
port: 3000,
open: true,
// 开发环境代理:/api 请求转发到后端服务,避免跨域
// 开发环境代理:/api 请求转发到后端服务,避免跨域;/uploads 为设备附件静态文件与上传接口
proxy: {
'/api': {
target: 'http://localhost:5287',
changeOrigin: true
},
'/uploads': {
target: 'http://localhost:5287',
changeOrigin: true
}
}
}