From 485433f986a5560adf2f6d0c012be258001620c9 Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 17 Oct 2023 16:05:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=852?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/BlankView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/BlankView.vue b/src/views/BlankView.vue index 28fbe52..09d63fe 100644 --- a/src/views/BlankView.vue +++ b/src/views/BlankView.vue @@ -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');