+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 清空
+
+
+
+
+
+
+ 添加租户
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.status ? '启用' : '禁用' }}
+
+
+
+
+
+ {{ formatDateTime(scope.row.createTime) }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vue.config.js b/vue.config.js
index c4a0e47..acef527 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -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: {