From abac2adc38b72c76031001489fb23ab663b98887 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 8 Aug 2024 17:01:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(X-Pack):=20=E6=96=B0=E5=A2=9E=E9=98=88?= =?UTF-8?q?=E5=80=BC=E5=91=8A=E8=AD=A6=E9=83=A8=E5=88=86=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/visualization/ComponentEditBar.vue | 2 ++ core/core-frontend/src/locales/zh-CN.ts | 8 ++++++++ core/core-frontend/src/views/dashboard/index.vue | 1 + 3 files changed, 11 insertions(+) diff --git a/core/core-frontend/src/components/visualization/ComponentEditBar.vue b/core/core-frontend/src/components/visualization/ComponentEditBar.vue index 4a77ec67dd..3518d66e4d 100644 --- a/core/core-frontend/src/components/visualization/ComponentEditBar.vue +++ b/core/core-frontend/src/components/visualization/ComponentEditBar.vue @@ -130,6 +130,7 @@ + 删除 @@ -186,6 +187,7 @@ import { RefreshLeft } from '@element-plus/icons-vue' import { ElMessage, ElTooltip, ElButton } from 'element-plus-secondary' import CustomTabsSort from '@/custom-component/de-tabs/CustomTabsSort.vue' import { exportPivotExcel } from '@/views/chart/components/js/panel/common/common_table' +import { XpackComponent } from '@/components/plugin' const dvMainStore = dvMainStoreWithOut() const snapshotStore = snapshotStoreWithOut() const copyStore = copyStoreWithOut() diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index d86105cc7f..47c41eeb81 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2749,5 +2749,13 @@ export default { }, on_the_left: '请在左侧选择表单', search_by_commit_name: '根据操作人名称搜索' + }, + threshold: { + drawer_title: '设置阈值告警', + table_name: '阈值告警名称', + status: '数据状态', + base_setting: '基本设置', + threshold_setting: '告警设置', + name: '告警名称' } } diff --git a/core/core-frontend/src/views/dashboard/index.vue b/core/core-frontend/src/views/dashboard/index.vue index 3d6d9da6d8..a53e0cf7f2 100644 --- a/core/core-frontend/src/views/dashboard/index.vue +++ b/core/core-frontend/src/views/dashboard/index.vue @@ -313,6 +313,7 @@ onUnmounted(() => { @loaded="XpackLoaded" @load-fail="XpackLoaded" /> +