forked from drone/command-center-dashboard

chenyao
2025-04-18 949a21a036d3c5b5df4e07bd5ecc80b08eeff841
feat:打印系统运维地址
3 files modified
5 ■■■■■ changed files
.env.development 2 ●●● patch | view | raw | blame | history
.env.production 2 ●●● patch | view | raw | blame | history
src/layout/Header.vue 1 ●●●● patch | view | raw | blame | history
.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'
VITE_APP_ADMIN_URL = 'https://wrj.shuixiongit.com/manage'
.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'
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;
  }