style: fix tags-view style bug

This commit is contained in:
陈凯龙 2022-03-02 08:34:55 +08:00
parent de34bb193d
commit ebff81777b
2 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -73,7 +73,8 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
name: 'Analysis',
meta: {
title: t('router.analysis'),
noCache: true
noCache: true,
affix: true
}
},
{