From b76fd2fa93c2036d66e5142654cf66cf1e371531 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 30 四月 2024 17:12:34 +0800 Subject: [PATCH] 改为连表查询 --- src/views/screen/components/screen-wrapper/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/screen/components/screen-wrapper/index.vue b/src/views/screen/components/screen-wrapper/index.vue index 680c6d1..b80e0e0 100644 --- a/src/views/screen/components/screen-wrapper/index.vue +++ b/src/views/screen/components/screen-wrapper/index.vue @@ -5,7 +5,7 @@ 杩斿洖 </div> <div class="wrapper-content"> - <screen-map-three></screen-map-three> + <screen-map-three :loadEnd="isEnd"></screen-map-three> <div class="left-container wrapper"> <screen-face class="enter-left" :class="{ 'animate-enter-x': isEnd }"></screen-face> <screen-car class="enter-left animate-delay-1" :class="{ 'animate-enter-x': isEnd }"></screen-car> @@ -51,7 +51,7 @@ }, data() { return { - isEnd: false + isEnd: false, } }, methods: { @@ -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