diff --git a/public/react/src/modules/page/MainContentContainer.js b/public/react/src/modules/page/MainContentContainer.js index a437391d6..947aadaa5 100644 --- a/public/react/src/modules/page/MainContentContainer.js +++ b/public/react/src/modules/page/MainContentContainer.js @@ -293,6 +293,7 @@ class MainContentContainer extends Component { // that._cancel = c; // }) }).then((fetchRepositoryCodeResponse) => { + // monaca 需要刷新,不然无法编辑 if (retryAndRefresh && fetchRepositoryCodeResponse.data.content) { window.location.reload() return;