From ad098927e6d33f9c7338ef3ff317bc9a30813fce Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 22 Nov 2022 16:34:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=B0=83=E6=95=B4=20Record=20rules?= =?UTF-8?q?=20=E4=BA=8C=E7=BA=A7=E9=A1=B5=E9=9D=A2=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/bottomBox/bottomBox.vue | 12 ++++++------ .../common/table/settings/recordRuleTable.vue | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index d0c772817..ab2e83d25 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -245,13 +245,13 @@ export default { { prop: 'ipam', name: this.$t('ipam.subnet.ipDetails'), active: true } ], recordRule: { - evalLog: [ - { prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: true }, - { prop: 'Metrics', name: this.$t('overall.metric'), active: false } - ], Metrics: [ - { prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: false }, - { prop: 'Metrics', name: this.$t('overall.metric'), active: true } + { prop: 'Metrics', name: this.$t('overall.metric'), active: true }, + { prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: false } + ], + evalLog: [ + { prop: 'Metrics', name: this.$t('overall.metric'), active: false }, + { prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: true } ] }, alertSilence: [ diff --git a/nezha-fronted/src/components/common/table/settings/recordRuleTable.vue b/nezha-fronted/src/components/common/table/settings/recordRuleTable.vue index b8582ba1e..eebec88a6 100644 --- a/nezha-fronted/src/components/common/table/settings/recordRuleTable.vue +++ b/nezha-fronted/src/components/common/table/settings/recordRuleTable.vue @@ -108,7 +108,7 @@ {{ $t("overall.option") }}
- +