|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<el-menu
|
|
|
:default-active="store.state.currentMenuItem"
|
|
|
- style="width: 220px; height: 100%"
|
|
|
+ style="width: 160px; height: 100%; overflow: hidden"
|
|
|
background-color="#141B29"
|
|
|
text-color="#fff"
|
|
|
active-text-color="#ffd04b"
|
|
|
@@ -19,6 +19,7 @@
|
|
|
:index="son.path"
|
|
|
:key="son"
|
|
|
@click="changeIndex(son.path)"
|
|
|
+ style="width: 160px"
|
|
|
>
|
|
|
{{ son.name }}
|
|
|
</el-menu-item>
|
|
|
@@ -90,4 +91,9 @@ let menu = [
|
|
|
height: 20px;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
+
|
|
|
+:deep().el-menu-item {
|
|
|
+ min-width: 158px !important;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
</style>
|