添加echarts

This commit is contained in:
joshen
2025-06-05 15:02:51 +08:00
parent f11c11e7ff
commit 062f9fc940
7 changed files with 2754 additions and 19 deletions

View File

@@ -46,6 +46,23 @@ module.exports = defineConfig({
target: 'https:' + process.env.VUE_APP_BOE_API_URL,
changeOrigin: true, //表示是否改变原域名
},
// "/reportsnake": {
// target:'https:' + process.env.VUE_APP_BOE_API_URL,
// changeOrigin: true, //表示是否改变原域名
// pathRewrite: {
// // "^/reportsnake": "",
// },
// },
"/reportsnake": {
target: 'http://127.0.0.1:32004',
changeOrigin: true, //表示是否改变原域名
pathRewrite: {
"^/reportsnake": "",
},
onProxyReq(proxyReq, req) {
console.log('Proxying request to:', req.url); // 调试日志
}
},
"/report": {
target: 'https:' + process.env.VUE_APP_BOE_API_URL,
changeOrigin: true, //表示是否改变原域名
@@ -53,6 +70,8 @@ module.exports = defineConfig({
// "^/manageApi": "",
},
},
// "/report": {
// target: 'http://192.168.31.211:18878',
// changeOrigin: true, //表示是否改变原域名