From e7e3adcc6f7d85c490bb535930a799ad1fe34815 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 22 May 2026 18:35:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8F=A4=E5=B0=94=E9=82=A6=E8=8A=82):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Activities/GulbenFestival/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/Activities/GulbenFestival/index.vue b/src/views/Activities/GulbenFestival/index.vue index 1fa8556..cd85699 100644 --- a/src/views/Activities/GulbenFestival/index.vue +++ b/src/views/Activities/GulbenFestival/index.vue @@ -1289,6 +1289,7 @@ import { getPngUrl } from '@/config/imagePaths.js' import { preloadImages, preloadImagesIdle } from '@/utils/image/imagePreloader.js' import { showError } from '@/utils/toast.js' import { gotoRoom, viewUserInfo } from '@/utils/appBridge.js' +import { connectToApp } from '@/utils/appConnector.js' import { handleRewardImageError } from '@/utils/image/imageHandler.js' import { formatRewardDisplay } from '@/utils/rewardFormatter.js' import { @@ -2517,6 +2518,12 @@ const completePreloading = async () => { } } +const connectToAppHandler = async () => { + await connectToApp(() => { + completePreloading() + }) +} + // 切换一级标签时,同步选中当前模块的默认二级标签。 watch( currentTopSection, @@ -2573,7 +2580,7 @@ onMounted(() => { }) }) } - completePreloading() + connectToAppHandler() startCountdown() })