fix: 首页功能优化,模块优化。

This commit is contained in:
tianyongbao
2024-07-24 15:00:20 +08:00
parent 6cffd62019
commit f130d73826
9 changed files with 523 additions and 285 deletions

View File

@@ -46,25 +46,14 @@ export default defineConfig(({ mode, command }) => {
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
'/file-upload': {
target: 'http://8.140.22.151:9000',
target: 'http://101.126.95.100:9000',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/file-upload/, '')
},
'/fileUrl': {
target: 'http://8.140.22.151:9000', // 本地
target: 'http://101.126.95.100:9000', // 本地
changeOrigin: true,
rewrite: (p) => p.replace(/^\/fileUrl/, '')
},
'/bimapi': {
target: 'http://140.249.24.92:3101', // 本地
changeOrigin: true,
rewrite: (p) => p.replace(/^\/bimapi/, '')
},
'/model': {
// bim模型
target: 'http://140.249.24.92:3101',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/model/, '')
}
}
},