commit
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="toggle-btn iconfont" style="display: flex;justify-content: center; font-size: 30px; color: #333333;" @click="handleToggleSideBar"><div style="font-size: 14px; line-height: 30px;">{{ this.isCollapse ? '' : '' }}</div></div>
|
||||
<div class="left-tree">
|
||||
<el-menu
|
||||
unique-opened
|
||||
:default-active="defaultActive"
|
||||
@@ -62,6 +63,7 @@
|
||||
</template>
|
||||
</el-menu>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { mapGetters, mapMutations } from 'vuex'
|
||||
@@ -487,6 +489,13 @@
|
||||
box-sizing: border-box;
|
||||
background: rgb(255, 255, 255);
|
||||
background-size: 100% 100%;
|
||||
.left-tree {
|
||||
height: calc(~'100% - 95px');
|
||||
overflow-y: auto;
|
||||
}
|
||||
.left-tree::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
&:not(.is-collapse) {
|
||||
width: 212px;
|
||||
background: rgb(255, 255, 255);
|
||||
|
||||
Reference in New Issue
Block a user