From d4b8191eba6156f8117433cd69594dbaeeb2cc73 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Tue, 14 Jan 2025 02:57:28 +0800 Subject: [PATCH] use static url instead v-bind --- components/card/FullScreenIntroCard.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/card/FullScreenIntroCard.vue b/components/card/FullScreenIntroCard.vue index 05a8d30..c4149e7 100644 --- a/components/card/FullScreenIntroCard.vue +++ b/components/card/FullScreenIntroCard.vue @@ -4,7 +4,6 @@ import { computed, ref } from 'vue' // 使用 ref 跟踪鼠标的 x 和 y 坐标 const mouseX = ref(0), mouseY = ref(0), - characterUrl = ref(''), typedString = ['Hello, Welcome to this site!^1000', '欢迎访问本网站!^1000'], littleWidget = [ @@ -45,7 +44,7 @@ const mouseX = ref(0), })) onMounted(() => { - characterUrl.value = getAssetURL('common/hoshino.png') + }) @@ -112,7 +111,7 @@ onMounted(() => { sm:visible sm:opacity-100 lg:-top-28 lg:-right-28 lg:-bottom-10" >