📅  最后修改于: 2022-03-11 14:58:39.342000             🧑  作者: Mango
var perfEntries = performance.getEntriesByType("navigation");
if (perfEntries[0].type === "back_forward") {
location.reload(true);
}