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 147849bafc..9c3dd463ac 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2773,5 +2773,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" /> +