style: 适应lint规则

This commit is contained in:
pipipi-pikachu 2021-02-06 13:56:09 +08:00
parent c0a15d6e0d
commit 2f1dd4d776
7 changed files with 10 additions and 10 deletions

View File

@ -45,7 +45,7 @@ module.exports = {
}], }],
'default-case': 'error', 'default-case': 'error',
'consistent-this': ['error', '_this'], 'consistent-this': ['error', '_this'],
'max-depth': ['error', 4], 'max-depth': ['error', 5],
'max-lines': ['error', 800], 'max-lines': ['error', 800],
'no-multi-str': 'error', 'no-multi-str': 'error',
'space-infix-ops': 'error', 'space-infix-ops': 'error',

View File

@ -81,7 +81,7 @@ $subMenuWidth: 120px;
} }
&:hover:not(.disable) { &:hover:not(.disable) {
background-color: #e1e1e1; background-color: rgba($color: $themeColor, $alpha: .2);
} }
&.divider { &.divider {