From da2a9a0580f64bcb2fdab5c88ca76279f1071d22 Mon Sep 17 00:00:00 2001 From: Youngster_yj <907985037@qq.com> Date: Tue, 12 Dec 2023 11:46:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=9B=E5=B7=9D=E7=94=B5=E4=BF=A1?= =?UTF-8?q?=E8=B5=84=E9=98=B3=E4=B8=93=E7=89=88-=E6=96=87=E6=A1=88?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ConfigPrivateDomain/ConfigPrivateDomain.tsx | 6 +++--- app/renderer/src/main/src/pages/MainOperator.tsx | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/renderer/src/main/src/components/ConfigPrivateDomain/ConfigPrivateDomain.tsx b/app/renderer/src/main/src/components/ConfigPrivateDomain/ConfigPrivateDomain.tsx index f64c0aa307..b2ee430299 100644 --- a/app/renderer/src/main/src/components/ConfigPrivateDomain/ConfigPrivateDomain.tsx +++ b/app/renderer/src/main/src/components/ConfigPrivateDomain/ConfigPrivateDomain.tsx @@ -96,7 +96,7 @@ export const ConfigPrivateDomain: React.FC = React.mem setStoreUserInfo(user) if (data?.next) { aboutLoginUpload(res.token) - success("企业登录成功") + success("四川电信资阳专版企业登录成功") onCloseTab() onClose && onClose() onSuccee && onSuccee() @@ -109,7 +109,7 @@ export const ConfigPrivateDomain: React.FC = React.mem }) .catch((err) => { setTimeout(() => setLoading(false), 300) - failed("企业登录失败:" + err) + failed("四川电信资阳专版企业登录失败:" + err) }) .finally(() => {}) }) @@ -272,7 +272,7 @@ export const ConfigPrivateDomain: React.FC = React.mem
-
企业登录
+
四川电信资阳专版企业登录
)}
onFinish(v)} size='small'> diff --git a/app/renderer/src/main/src/pages/MainOperator.tsx b/app/renderer/src/main/src/pages/MainOperator.tsx index 944fb23742..a0bd786c0f 100644 --- a/app/renderer/src/main/src/pages/MainOperator.tsx +++ b/app/renderer/src/main/src/pages/MainOperator.tsx @@ -22,6 +22,7 @@ import {getRemoteValue, setLocalValue, setRemoteValue} from "@/utils/kv" import {NetWorkApi} from "@/services/fetch" import {API} from "@/services/swagger/resposeType" import { + getReleaseEditionName, globalUserLogin, isCommunityEdition, isEnpriTrace, @@ -479,7 +480,7 @@ const Main: React.FC = React.memo((props) => { } else if (isEnpriTrace()) { return "EnpriTrace-试用版" } else if (isEnpriTraceAgent()) { - return "EnpriTraceAgent-试用版" + return getReleaseEditionName() } return "" }