From fcd88ed617a16fbeadc2a6285cc6e4d041fdf28b Mon Sep 17 00:00:00 2001 From: xmcp Date: Wed, 21 Aug 2019 19:09:44 +0800 Subject: [PATCH] change refresh --- src/Title.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Title.js b/src/Title.js index 3a6d8401..466240d9 100644 --- a/src/Title.js +++ b/src/Title.js @@ -33,9 +33,8 @@ const HELP_TEXT=( }); } setTimeout(()=>{ - // noinspection SillyAssignmentJS - window.location.href=window.location.href; - },300); + window.location.refresh(true); + },200); }}>强制更新 (当前程序版本 [{process.env.REACT_APP_BUILD_INFO||'---'}] {process.env.NODE_ENV})