diff --git a/src/components/TodoList.vue b/src/components/TodoList.vue index b3dae92..e2f5ab4 100644 --- a/src/components/TodoList.vue +++ b/src/components/TodoList.vue @@ -139,6 +139,7 @@ const openHaibao = async (e) => { .then(async response => { const data = await response.json() if (response.status == 200 || response.status == 201) { + loading.hide() const foundItem = data.data.find(item => item.is_public === true); if (foundItem) { globalStore.result_url = foundItem.result_url; @@ -153,7 +154,6 @@ const openHaibao = async (e) => { } else { return weui.alert("请先参与活动合成图片并打榜!") } - loading.hide() return { success: true, data }; } else { loading.hide()