diff --git a/nezha-fronted/src/components/common/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/alert/alertMessageTable.vue index a9a874d42..6841d972c 100644 --- a/nezha-fronted/src/components/common/alert/alertMessageTable.vue +++ b/nezha-fronted/src/components/common/alert/alertMessageTable.vue @@ -921,7 +921,9 @@ */ }, beforeDestroy(){ - this.scrollbarWrap.removeEventListener('scroll', bus.debounce); + if(this.scrollbarWrap){ + this.scrollbarWrap.removeEventListener('scroll', bus.debounce); + } } } diff --git a/nezha-fronted/src/components/common/honeycomb/hexagonFigureSvg.vue b/nezha-fronted/src/components/common/honeycomb/hexagonFigureSvg.vue index 1a7271bc8..4322929f4 100644 --- a/nezha-fronted/src/components/common/honeycomb/hexagonFigureSvg.vue +++ b/nezha-fronted/src/components/common/honeycomb/hexagonFigureSvg.vue @@ -1,10 +1,10 @@