fix(erp-frontend-vue): resolve TypeScript build errors (duplicate ids, unused vars, null guards, type mismatches)
Made-with: Cursor
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user