From aed8c89dedf94b98c4b6e988388fbe147f99dab5 Mon Sep 17 00:00:00 2001 From: David Wei Date: 星期日, 08 十月 2023 16:05:58 +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