|
@@ -448,6 +448,8 @@ async function clickLikeBtn() {
|
|
|
window.open(`https://twitter.com/intent/like?tweet_id=${state.tweetId}`)
|
|
|
state.done.like = false
|
|
|
}
|
|
|
+ }).catch(()=>{
|
|
|
+ state.loading_show = false
|
|
|
})
|
|
|
break
|
|
|
case '2':
|
|
@@ -552,6 +554,8 @@ async function clickRetweetBtn() {
|
|
|
window.open(`https://twitter.com/retweet/like?tweet_id=${state.tweetId}`)
|
|
|
state.done.retweet = false
|
|
|
}
|
|
|
+ }).catch(()=>{
|
|
|
+ state.loading_show = false
|
|
|
})
|
|
|
break;
|
|
|
case '2':
|
|
@@ -766,6 +770,8 @@ async function clickFollowAll(item, is_all) {
|
|
|
})
|
|
|
openFollowTabs(arr_name)
|
|
|
}
|
|
|
+ }).catch(()=>{
|
|
|
+ state.loading_show = false
|
|
|
})
|
|
|
break
|
|
|
case '2':
|
|
@@ -1023,6 +1029,8 @@ function init(initParams) {
|
|
|
}
|
|
|
state.detail = JSON.parse(res.data.postBizData)
|
|
|
state.detail.taskCondition = state.detail.taskCondition || []
|
|
|
+ // 不要删除这个console
|
|
|
+ console.log('postBizData',state.detail)
|
|
|
checkFacebookReply();
|
|
|
handleStatusPage()
|
|
|
} else {
|
|
@@ -1205,6 +1213,8 @@ function handleRedPacket() {
|
|
|
} else {
|
|
|
handleErrorCode(res)
|
|
|
}
|
|
|
+ }).catch(()=>{
|
|
|
+ state.loading_show = false
|
|
|
})
|
|
|
// 埋点
|
|
|
Report.reportLog({
|
|
@@ -1369,6 +1379,8 @@ function handleFinishRedPacket() {
|
|
|
});
|
|
|
handleErrorCode(res)
|
|
|
}
|
|
|
+ }).catch(()=>{
|
|
|
+ state.loading_show = false
|
|
|
})
|
|
|
}
|
|
|
|