From 5abaa743c04a4c5714055682b5c2531140472bcc Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Thu, 11 Jun 2026 10:35:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/.env.development | 4 ++-- frontend/.env.production | 1 + .../src/layouts/components/Footer/index.vue | 18 +++++++++++++++--- frontend/src/types/env.d.ts | 3 +++ frontend/src/utils/webSocketClient.ts | 3 +-- 5 files changed, 22 insertions(+), 7 deletions(-) diff --git a/frontend/.env.development b/frontend/.env.development index c89653c..618234b 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -16,13 +16,13 @@ VITE_PWA=false # 开发环境接口地址 VITE_API_URL=/api +VITE_COMPANY_WEBSITE=http://www.shining-electric.com/ # 开发环境跨域代理,支持配置多个 VITE_PROXY=[["/api","http://127.0.0.1:18092/"]] #VITE_PROXY=[["/api","http://192.168.1.124:18092/"]] #VITE_PROXY=[["/api","http://192.168.2.125:18092/"]] -# VITE_PROXY=[["/api","http://192.168.1.138:8080/"]]张文 VITE_IS_SHOW_RAW_DATA=true # 开启激活验证 -VITE_ACTIVATE_OPEN=false +VITE_ACTIVATE_OPEN=false \ No newline at end of file diff --git a/frontend/.env.production b/frontend/.env.production index 622de13..cc031bf 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -24,6 +24,7 @@ VITE_PWA=true # 线上环境接口地址 #VITE_API_URL="/api" # 打包时用 VITE_API_URL="http://127.0.0.1:18092/" +VITE_COMPANY_WEBSITE=http://www.shining-electric.com/ VITE_IS_SHOW_RAW_DATA=true # 开启激活验证 VITE_ACTIVATE_OPEN=false diff --git a/frontend/src/layouts/components/Footer/index.vue b/frontend/src/layouts/components/Footer/index.vue index dd146e5..ad5044f 100644 --- a/frontend/src/layouts/components/Footer/index.vue +++ b/frontend/src/layouts/components/Footer/index.vue @@ -20,10 +20,11 @@

- 2024 © 南京灿能电力自动化股份有限公司 + 2024 © 南京灿能电力自动化股份有限公司

+ +