From 0a870a218897b2bd65936127fa680ec102a866ff Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 25 四月 2024 18:02:49 +0800
Subject: [PATCH] feat:折线图动态切换
---
src/views/screen/components/screen-wrapper/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/screen/components/screen-wrapper/index.vue b/src/views/screen/components/screen-wrapper/index.vue
index a6e27e1..b80e0e0 100644
--- a/src/views/screen/components/screen-wrapper/index.vue
+++ b/src/views/screen/components/screen-wrapper/index.vue
@@ -69,7 +69,7 @@
const container = document.querySelector('.screen-wrapper');
container.addEventListener('transitionend', this.checkAnimationEnd);
},
- destroyed() {
+ beforDestroy() {
const container = document.querySelector('.screen-wrapper');
container.removeEventListener('transitionend', this.checkAnimationEnd);
}
--
Gitblit v1.8.0