审批单位与黑名单菜单问题
This commit is contained in:
@ -6,6 +6,6 @@ export default defineConfig({
|
||||
UPLOAD_URL: '/upload',
|
||||
REQUEST_BASE: '/api',
|
||||
// 下载文件时用到,直接window.open 拼上接口地址+参数
|
||||
SERVER_BASE: 'http://10.0.0.10:18012',
|
||||
SERVER_BASE: 'http://10.0.0.125:18012',
|
||||
},
|
||||
});
|
||||
|
@ -23,10 +23,20 @@ export default {
|
||||
},
|
||||
},
|
||||
prod: {
|
||||
'/api/v1/*': {
|
||||
target: 'http://10.0.0.125:18030',//
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/api/v1': '/v1' },
|
||||
},
|
||||
'/api/*': {
|
||||
target: 'http://uscm.unicom.local:18022',//
|
||||
target: 'http://10.0.0.125:18012',//
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^': '' },
|
||||
},
|
||||
'/upload/*': {
|
||||
target: 'http://10.0.0.125:18012',//
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/upload': '' },
|
||||
},
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user