diff --git a/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue b/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue index 5ffd65699..76d5018f6 100644 --- a/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue @@ -56,6 +56,8 @@ export default { } } }, + created() { + }, methods: { clickOutside () { this.esc(false) diff --git a/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue b/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue index 8ab4cdac2..ee6a8514a 100644 --- a/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue +++ b/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue @@ -78,7 +78,7 @@ - + @@ -173,7 +173,7 @@ v-if="rightBox.charts.show"> - + @@ -227,12 +227,10 @@ import axios from 'axios' export default { props: { show: Boolean, - params: { type: Object }, exportFileName: { type: String }, - link: { type: Object }, - permissions: { type: Object }, - showCur: { type: Boolean, default: true }, - id: { type: String, default: 'export' } + id: { type: String, default: 'export' }, + currentDc: { type: Object }, + alertRule: Object }, components: { DcBox, @@ -431,9 +429,10 @@ export default { unit: 2, operator: '>', last: 60, - severity: 'P2', + severityId: '', summary: '', - description: '' + description: '', + method: [] }, cabinet: { id: '', @@ -525,6 +524,7 @@ export default { }, // Alert addAlertRule() { + console.log(id) this.rightBox.alert.show = true this.$emit("update:show", false); }, diff --git a/nezha-fronted/src/components/page/config/credentials.vue b/nezha-fronted/src/components/page/config/credentials.vue index 9e0ec0289..ac8b34a81 100644 --- a/nezha-fronted/src/components/page/config/credentials.vue +++ b/nezha-fronted/src/components/page/config/credentials.vue @@ -47,7 +47,7 @@ - +