|
|
|
@ -498,7 +498,7 @@ pop_box_new(htmlvalue, 480, 182);
|
|
|
|
|
return resData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fetchAll(stageId) {
|
|
|
|
|
fetchAll(stageId, noTimeout) {
|
|
|
|
|
|
|
|
|
|
if (window.__fetchAllFlag == true ) {
|
|
|
|
|
console.log('TPIContextProvider call fetchAll repeatly!')
|
|
|
|
@ -544,6 +544,13 @@ pop_box_new(htmlvalue, 480, 182);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (response.data.status == 404) {
|
|
|
|
|
// 如果第一次发生404,则隔1s后再调用一次本接口;(因为ucloud主从同步可能有延迟)
|
|
|
|
|
if (!noTimeout) {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.fetchAll(stageId, true)
|
|
|
|
|
}, 1000)
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
window.location.href = '/myshixuns/not_found'
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|