From 7f29511cb6206d84a6181de3d32eddfcd5798951 Mon Sep 17 00:00:00 2001 From: yixu Date: Sun, 14 Sep 2025 21:48:30 +0800 Subject: [PATCH] update --- src/components/TodoList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/TodoList.vue b/src/components/TodoList.vue index 40278c6..919ca84 100644 --- a/src/components/TodoList.vue +++ b/src/components/TodoList.vue @@ -57,10 +57,12 @@ const handleHaibao = async () => { let userPicture = ''; if (!globalStore.result_url) { weui.alert("请先参与活动合成图片并打榜!") + haibaoShow.value = false + return false; } else { userPicture = await loadImage(globalStore.result_url) } - + const loading = weui.loading(); const infos = Storage.get("userinfos") const haibaoCover = new Haibao(951, 1607) haibaoCover.add(userPicture, 50, 50)