This commit is contained in:
xiaoaojiao
2025-09-28 10:46:55 +08:00
parent d24041a04a
commit 783c8a0322

View File

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