monaca 需要刷新,不然无法编辑

dev_forum
hjm 6 years ago
parent 49eb847328
commit d8670b2092

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

Loading…
Cancel
Save