租户管理的代码框架

This commit is contained in:
zhonghua1
2025-12-20 17:03:31 +08:00
parent 1b3df8f5a4
commit 74ff0a53e1
5 changed files with 398 additions and 15 deletions

View File

@@ -56,7 +56,9 @@ module.exports = {
},
proxy: {
'/api': {
target: 'http://localhost:9060', // 本地后端服务器地址
// 可以通过环境变量 VUE_APP_API_BASE_URL 来配置后端地址
// 例如: VUE_APP_API_BASE_URL=http://localhost:8090 npm run dev
target: process.env.VUE_APP_API_BASE_URL || 'http://localhost:8090', // 本地后端服务器地址
// target: 'https://api.huayang-star.com/', // 生产环境后端地址
changeOrigin: true,
pathRewrite: {