From d8670b209288f9628014cbfeea031ea20a0bede2 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Wed, 24 Jul 2019 18:21:23 +0800 Subject: [PATCH] =?UTF-8?q?monaca=20=E9=9C=80=E8=A6=81=E5=88=B7=E6=96=B0?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E7=84=B6=E6=97=A0=E6=B3=95=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/page/MainContentContainer.js | 1 + 1 file changed, 1 insertion(+) 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;