This commit is contained in:
liaozetao
2023-10-17 16:05:28 +08:00
parent 06120ffd1a
commit 485433f986

View File

@@ -9,6 +9,7 @@ export default {
name: 'BlankView',
created() {
window.location.reload();
console.log(window.performance.navigation.type == window.performance.navigation.TYPE_RELOAD);
//处理css样式污染问题
if (window.performance.navigation.type == window.performance.navigation.TYPE_RELOAD) {
router.push('/home');