From ccaf308e6b9334a9cccdc3d50bfa4d68e6c21dde Mon Sep 17 00:00:00 2001
From: DRINK <11471423+drink4u@user.noreply.gitee.com>
Date: Mon, 25 Nov 2024 10:59:06 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=88=87=E6=8D=A2=E7=99=BD?=
=?UTF-8?q?=E5=B1=8F=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/index.vue | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 6632033..597e957 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -9,7 +9,7 @@
-
+
@@ -57,6 +57,11 @@ const cachedViews = computed(() => {
})
//appMain 模块结束
+//路由切换白屏处理
+const key = computed(() => {
+ return route.path + Math.random();
+});
+
const classObj = computed(() => ({
hideSidebar: !sidebar.value.opened,
openSidebar: sidebar.value.opened,
--
Gitee