From e1023bb3313282b00d6dcdefd5d7e30d7aaa1bfc Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 30 十一月 2023 11:13:29 +0800 Subject: [PATCH] update 优化 代码中存在的警告 --- src/layout/components/TagsView/index.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index e65df65..1df486e 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) { @@ -275,7 +278,7 @@ height: 8px; border-radius: 50%; position: relative; - margin-right: 2px; + margin-right: 5px; } } } -- Gitblit v1.9.3