// 加了dispose,应该不会重现了,暂时注释掉reload

dev_cs
hjm 6 years ago
parent 2f04235761
commit 66026a77ac

@ -308,11 +308,12 @@ class MainContentContainer extends Component {
// })
}).then((fetchRepositoryCodeResponse) => {
// monaca 需要刷新,不然无法编辑
if (this.retryAndRefresh && fetchRepositoryCodeResponse.data.content) {
this.retryAndRefresh = false;
window.location.reload()
return;
}
// 加了dispose应该不会重现了暂时注释掉reload
// if (this.retryAndRefresh && fetchRepositoryCodeResponse.data.content) {
// this.retryAndRefresh = false;
// window.location.reload()
// return;
// }
// 空字符串还是正常切换
if (fetchRepositoryCodeResponse.data.status == 0) {
readingRepoTimes = readingRepoTimes + 1;

Loading…
Cancel
Save