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 | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 467081e..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; } } } @@ -290,7 +293,6 @@ border-radius: 4px; font-size: 12px; font-weight: 400; - color: #333; box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3); li { margin: 0; -- Gitblit v1.9.3