diff --git a/src/layout/components/tag/index.scss b/src/layout/components/tag/index.scss index e8d879579..c87be26f2 100644 --- a/src/layout/components/tag/index.scss +++ b/src/layout/components/tag/index.scss @@ -90,7 +90,7 @@ } } - a { + .tag-title { padding: 0 4px; color: var(--el-text-color-primary); text-decoration: none; @@ -204,7 +204,7 @@ transform: translate(0, -50%); } - a { + .tag-title { color: var(--el-color-primary) !important; } } @@ -247,7 +247,7 @@ .card-in { color: var(--el-color-primary); - a { + .tag-title { color: var(--el-color-primary); } } @@ -257,7 +257,7 @@ color: #666; border: none; - a { + .tag-title { color: #666; } } diff --git a/src/layout/components/tag/index.vue b/src/layout/components/tag/index.vue index f2464fef3..c0321598e 100644 --- a/src/layout/components/tag/index.vue +++ b/src/layout/components/tag/index.vue @@ -534,12 +534,11 @@ onBeforeUnmount(() => { @mouseleave.prevent="onMouseleave(index)" @click="tagOnClick(item)" > - {{ transformI18n(item.meta.title) }} - +