Commit f0d75c5e authored by luoxj's avatar luoxj

滚动条

parent a4f838d2
This diff is collapsed.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div id="index" v-cloak> <div id="index" v-cloak>
<!--左侧--> <!--左侧-->
<el-container class="index-menu"> <el-container class="index-menu">
<div class="left-tree"> <div class="left-tree" style="position:relative;">
<el-scrollbar style="height: 100%;"> <el-scrollbar style="height: 100%;">
<el-tree :indent="5" v-loading="loading" highlight-current :expand-on-click-node="false" default-expand-all :empty-text="emptyText" :data="treeData" :props="defaultProps" @node-click="handleNodeClick" style="padding: 10px;height: 100%;"></el-tree> <el-tree :indent="5" v-loading="loading" highlight-current :expand-on-click-node="false" default-expand-all :empty-text="emptyText" :data="treeData" :props="defaultProps" @node-click="handleNodeClick" style="padding: 10px;height: 100%;"></el-tree>
</el-scrollbar> </el-scrollbar>
...@@ -123,4 +123,5 @@ ...@@ -123,4 +123,5 @@
body{ body{
overflow: hidden; overflow: hidden;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment