From 62e1a7a63ddb273a21aba579e09570591b17c02d Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Tue, 13 Jun 2023 13:01:13 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96=20?= =?UTF-8?q?layout/AppMain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/AppMain.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 473c3aa..9b26c41 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -7,6 +7,7 @@ const route = useRoute() const tagsViewStore = useTagsViewStore() const key = computed(() => { + // 返回 route.path 和 route.fullPath 有着不同的效果,大多数时候 path 更通用 return route.path })