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)