写在 mounted 或者created生命周期里面
mounted() {
if (location.href.indexOf("#reloaded") == -1) {
location.href = location.href + “#reloaded”;
location.reload();
}
},

Logo

前往低代码交流专区

更多推荐