diff --git a/src/layout/index.vue b/src/layout/index.vue index 663203382772d724e40d60da94182a95cd421981..597e9577defb9808a5f161946dcbdf23f9636b31 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,