【fix ESLint】src/components/page
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
</a-layout-content>
|
||||
|
||||
<!-- layout footer -->
|
||||
<a-layout-footer style="padding: 0px">
|
||||
<a-layout-footer style="padding: 0">
|
||||
<global-footer/>
|
||||
</a-layout-footer>
|
||||
</a-layout>
|
||||
@@ -166,7 +166,7 @@ export default {
|
||||
},
|
||||
findMenuBykey (menus, key) {
|
||||
for (const i of menus) {
|
||||
if (i.path == key) {
|
||||
if (i.path === key) {
|
||||
this.activeMenu = { ...i }
|
||||
} else if (i.children && i.children.length > 0) {
|
||||
this.findMenuBykey(i.children, key)
|
||||
@@ -529,7 +529,7 @@ export default {
|
||||
|
||||
// 内容区
|
||||
.layout-content {
|
||||
margin: 24px 24px 0px;
|
||||
margin: 24px 24px 0;
|
||||
height: 64px;
|
||||
padding: 0 12px 0 0;
|
||||
}
|
||||
@@ -635,7 +635,7 @@ export default {
|
||||
|
||||
.ant-dropdown-menu-item > .anticon:first-child,
|
||||
.ant-dropdown-menu-item > a > .anticon:first-child,
|
||||
.ant-dropdown-menu-submenu-title > .anticon:first-child
|
||||
.ant-dropdown-menu-submenu-title > .anticon:first-child,
|
||||
.ant-dropdown-menu-submenu-title > a > .anticon:first-child {
|
||||
min-width: 12px;
|
||||
margin-right: 8px;
|
||||
|
||||
Reference in New Issue
Block a user