From d7612043b986df06e469aadca68070cecd926738 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 18 Jul 2024 18:13:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/layout/components/app-header/index.vue | 8 ++++++++ .../components/top-bar/avatar/AboutDialog.vue | 13 +++++-------- ui/src/layout/components/top-bar/index.vue | 11 ----------- ui/src/layout/layout-template/AppLayout.vue | 4 +++- ui/src/layout/layout-template/SystemLayout.vue | 4 +++- ui/src/layout/layout-template/index.scss | 3 +++ ui/src/utils/theme.ts | 5 ----- 7 files changed, 22 insertions(+), 26 deletions(-) diff --git a/ui/src/layout/components/app-header/index.vue b/ui/src/layout/components/app-header/index.vue index 12f45ae14..2bb2ca148 100644 --- a/ui/src/layout/components/app-header/index.vue +++ b/ui/src/layout/components/app-header/index.vue @@ -1,5 +1,13 @@ diff --git a/ui/src/layout/components/top-bar/avatar/AboutDialog.vue b/ui/src/layout/components/top-bar/avatar/AboutDialog.vue index 58b93a076..197fc55ca 100644 --- a/ui/src/layout/components/top-bar/avatar/AboutDialog.vue +++ b/ui/src/layout/components/top-bar/avatar/AboutDialog.vue @@ -17,7 +17,7 @@ ISV{{ licenseInfo?.isv || '-' }}
- 过期时间 + 到期时间 {{ licenseInfo?.expired || '-' }} 版本{{ - licenseInfo?.edition - ? EditionType[licenseInfo.edition as keyof typeof EditionType] + user.isXPack + ? EditionType[licenseInfo.edition as keyof typeof EditionType] || '专业版' : '社区版' }}
@@ -44,10 +44,7 @@ 备注{{ licenseInfo?.remark || '-' }} -
+
(null) const open = () => { - if (user.isEnterprise()) { + if (user.isXPack) { getLicenseInfo() } diff --git a/ui/src/layout/components/top-bar/index.vue b/ui/src/layout/components/top-bar/index.vue index 3f00b671c..2729cdacf 100644 --- a/ui/src/layout/components/top-bar/index.vue +++ b/ui/src/layout/components/top-bar/index.vue @@ -1,13 +1,5 @@ ·