From 4243ccb5c2e548c915825f328658f978fd2123b4 Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Mon, 6 May 2024 14:25:55 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=AE=B8=E5=8F=AF?=
=?UTF-8?q?=E8=AF=81=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=20(#4877)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/api/interface/setting.ts | 1 +
frontend/src/views/setting/license/index.vue | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/frontend/src/api/interface/setting.ts b/frontend/src/api/interface/setting.ts
index 677c8800d..53d07fc7e 100644
--- a/frontend/src/api/interface/setting.ts
+++ b/frontend/src/api/interface/setting.ts
@@ -152,6 +152,7 @@ export namespace Setting {
productPro: string;
trial: boolean;
status: string;
+ message: string;
}
export interface LicenseStatus {
productPro: string;
diff --git a/frontend/src/views/setting/license/index.vue b/frontend/src/views/setting/license/index.vue
index 3412d30a0..12aaf66f0 100644
--- a/frontend/src/views/setting/license/index.vue
+++ b/frontend/src/views/setting/license/index.vue
@@ -48,6 +48,9 @@
-
+
+ {{ license.message }}
+
@@ -126,6 +129,7 @@ const license = reactive({
productName: '',
status: '',
+ message: '',
});
const toHalo = () => {
@@ -197,6 +201,7 @@ const search = async () => {
globalStore.productProExpires = Number(res.data.productPro);
}
license.licenseName = res.data.licenseName;
+ license.message = res.data.message;
license.assigneeName = res.data.assigneeName;
license.trial = res.data.trial;
if (res.data.productPro) {
@@ -234,4 +239,11 @@ onMounted(() => {
background-color: rgba(0, 94, 235, 0.03);
}
}
+:deep(.el-descriptions__content) {
+ max-width: 300px;
+}
+.descriptions {
+ word-break: break-all;
+ word-wrap: break-word;
+}