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 @@ ·