update
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user