commit
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</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="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
|
<el-menu
|
||||||
unique-opened
|
unique-opened
|
||||||
:default-active="defaultActive"
|
:default-active="defaultActive"
|
||||||
@@ -62,6 +63,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-menu>
|
</el-menu>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters, mapMutations } from 'vuex'
|
import { mapGetters, mapMutations } from 'vuex'
|
||||||
@@ -487,6 +489,13 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: rgb(255, 255, 255);
|
background: rgb(255, 255, 255);
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
.left-tree {
|
||||||
|
height: calc(~'100% - 95px');
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.left-tree::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
&:not(.is-collapse) {
|
&:not(.is-collapse) {
|
||||||
width: 212px;
|
width: 212px;
|
||||||
background: rgb(255, 255, 255);
|
background: rgb(255, 255, 255);
|
||||||
|
|||||||
Reference in New Issue
Block a user