From e10f112fa075441b1799fb6c0b61f95ece70d9c7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 15 八月 2023 13:53:34 +0800 Subject: [PATCH] fix 修复 使用 localStorage 返回值为null问题 --- src/layout/components/TagsView/index.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index e65df65..8998ca1 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -125,6 +125,9 @@ } const addTags = () => { const { name } = route; + if(route.query.title) { + route.meta.title = route.query.title; + } if (name) { useTagsViewStore().addView(route); if (route.meta.link) { -- Gitblit v1.9.3