From 3d9a5f399e43c7ba70d9262486c32b3a24b41aee Mon Sep 17 00:00:00 2001 From: yangchunlong <292345300@qq.com> Date: Thu, 17 Apr 2025 17:10:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=9A=80=20=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E6=B8=85=E7=A9=BA=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/Main/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/components/Main/index.vue b/src/layouts/components/Main/index.vue index b22c48e..a798fec 100644 --- a/src/layouts/components/Main/index.vue +++ b/src/layouts/components/Main/index.vue @@ -32,6 +32,7 @@ const { keepAliveName } = storeToRefs(keepAliveStore); const isRouterShow = ref(true); const refreshCurrentPage = (val: boolean) => { isRouterShow.value = val; + keepAliveStore.setKeepAliveName([]); }; provide("refresh", refreshCurrentPage);