From b428a0a5caa6be526bdbe06e96cc761bc0ab138f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 10 Jun 2025 09:27:12 +0800
Subject: [PATCH] Merge branch 'refs/heads/master' into feature/v2.0.0/后台管理数据中心
---
vite.config.mjs | 3 +--
src/page/index/top/index.vue | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 4c7279d..1ebd127 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -108,7 +108,7 @@
},
jumpMH () {
const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
- window.open(`${adminUrl}#/wel/gatewayPage`, '_blank')
+ window.open(`${adminUrl}#/gatewayPage`, '_blank')
},
},
}
diff --git a/vite.config.mjs b/vite.config.mjs
index 7f6b907..cbcf19c 100644
--- a/vite.config.mjs
+++ b/vite.config.mjs
@@ -40,8 +40,7 @@
// host: '192.168.1.178',
proxy: {
'/api': {
- target: 'http://localhost',
- // target: VITE_APP_URL,
+ target: VITE_APP_URL,
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},
--
Gitblit v1.9.3