fix(erp-frontend-vue): resolve TypeScript build errors (duplicate ids, unused vars, null guards, type mismatches)

Made-with: Cursor
This commit is contained in:
panchengyong
2026-03-01 16:40:38 +08:00
parent 10b6d0099a
commit e45616a09b
28 changed files with 45 additions and 49 deletions

View File

@@ -14,40 +14,40 @@ export default defineConfig({
strictPort: false, // 端口被占用时自动尝试下一个可用端口
proxy: {
'/api': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/erp': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/mes': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/system': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
// 登录相关接口代理
'/login': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/logout': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/captchaImage': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/getInfo': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
},
'/register': {
target: 'http://localhost:8080',
target: 'http://118.31.75.148:8090',
changeOrigin: true
}
}