diff --git a/src/components/TagsView/src/TagsView.vue b/src/components/TagsView/src/TagsView.vue index 6c1af07e2..dd70218ba 100644 --- a/src/components/TagsView/src/TagsView.vue +++ b/src/components/TagsView/src/TagsView.vue @@ -469,7 +469,7 @@ watch( position: relative; top: 2px; height: calc(~'100% - 4px'); - // padding: 0 15px; + padding-right: 25px; font-size: 12px; cursor: pointer; border: 1px solid #d9d9d9; @@ -488,10 +488,6 @@ watch( } } - &__item:not(.@{prefix-cls}__item--affix) { - padding-right: 25px; - } - &__item:not(.is-active) { &:hover { color: var(--el-color-primary); diff --git a/src/router/index.ts b/src/router/index.ts index 68f77ef09..f7b62b29e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -73,7 +73,8 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ name: 'Analysis', meta: { title: t('router.analysis'), - noCache: true + noCache: true, + affix: true } }, {