From bacf91a994820e8f947e779e6f1d3a940f302d1f Mon Sep 17 00:00:00 2001 From: Andy Leong Date: Tue, 23 Jan 2024 22:57:48 +0800 Subject: [PATCH] =?UTF-8?q?debug=E6=A8=A1=E5=BC=8F=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Index.vue | 12 +++++++++-- src/page/Home/App.vue | 46 ++++++++++++++++++---------------------- src/page/Home/main.js | 4 ++-- 3 files changed, 33 insertions(+), 29 deletions(-) diff --git a/src/components/Index.vue b/src/components/Index.vue index 236a6cd..4a158e0 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -78,6 +78,14 @@ onMounted(() => { clockAni(); }); + +const vcNum = ref(false); +const showVC = () => { + vcNum.value++; + if (vcNum.value >= 20) { + gsap.set("#__vconsole", { autoAlpha: 1 }); + } +};