This reverts commit f550096deba4feda78033987308bd15c4ef975ac.
@@ -328,13 +328,7 @@ export default {
resolve();
}, 2000);
});
- // 有时不能更新html
- // location.reload(true);
- if (location.search) {
- window.location.href = window.location.href + "&newDate=" + Date.now();
- } else {
- window.location.href = window.location.href + "?newDate=" + Date.now();
- }
+ location.reload(true);
}
// manual precache for models
fetch(