From 949a21a036d3c5b5df4e07bd5ecc80b08eeff841 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 18 Apr 2025 08:44:06 +0800
Subject: [PATCH] feat:打印系统运维地址
---
src/layout/Header.vue | 1 +
.env.development | 2 +-
.env.production | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.env.development b/.env.development
index 4792921..c1b7c39 100644
--- a/.env.development
+++ b/.env.development
@@ -12,4 +12,4 @@
VITE_APP_AIRLINE_URL = https://wrj.shuixiongit.com/minio/cloud-bucket
#系统运维
-VITE_APP_ADMIN_URL = 'https://wrj.shuixiongit.com/manage'
\ No newline at end of file
+VITE_APP_ADMIN_URL = 'https://wrj.shuixiongit.com/manage'
diff --git a/.env.production b/.env.production
index d4914e6..4e96c25 100644
--- a/.env.production
+++ b/.env.production
@@ -6,4 +6,4 @@
# ws地址
VITE_APP_WS_API_URL = wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
# 管理后台地址
-VITE_APP_ADMIN_URL = ' https://aisky.org.cn/manage'
+VITE_APP_ADMIN_URL = 'https://aisky.org.cn/manage'
diff --git a/src/layout/Header.vue b/src/layout/Header.vue
index 3e67c19..0c727d2 100644
--- a/src/layout/Header.vue
+++ b/src/layout/Header.vue
@@ -52,6 +52,7 @@
const handleClick = ({ path, name }) => {
if (['系统运维'].includes(name)) {
+ console.log('打印地址',import.meta.env.VITE_APP_ADMIN_URL);
window.open(import.meta.env.VITE_APP_ADMIN_URL + '?token=' + localStorage.getItem(ELocalStorageKey.Token), '_blank');
return;
}
--
Gitblit v1.9.3