审批单位与黑名单菜单问题

This commit is contained in:
孙景学
2025-08-06 15:57:40 +08:00
parent 709e00e156
commit 2c45bed782
10 changed files with 42 additions and 35 deletions

View File

@ -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',
},
});

View File

@ -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': '' },
},
}
};