dev_oauth
hjm 6 years ago
parent 680e7e9e01
commit 1c2ffd1563

@ -539,6 +539,8 @@ pop_box_new(htmlvalue, 480, 182);
.then((response) => {
// {"status":1,"message":"Unauthorized. \u7528\u6237\u8ba4\u8bc1\u5931\u8d25."}
window.__fetchAllFlag = false;
if (response.data.status == 403) {
window.location.href = "/403";
return;

@ -298,6 +298,7 @@ class MainContentContainer extends Component {
}).then((fetchRepositoryCodeResponse) => {
// monaca 需要刷新,不然无法编辑
if (this.retryAndRefresh && fetchRepositoryCodeResponse.data.content) {
this.retryAndRefresh = false;
window.location.reload()
return;
}

Loading…
Cancel
Save