feat: 文本列表组件增加滚动条

This commit is contained in:
fit2cloud-chenyw 2021-08-16 14:45:34 +08:00
parent ede4ebded2
commit cc726fe738

View File

@ -4,7 +4,7 @@
<div class="de-select-grid-search">
<el-input v-model="keyWord" :placeholder="$t('deinputsearch.placeholder')" size="mini" prefix-icon="el-icon-search" clearable />
</div>
<div>
<div class="list">
<el-tree
v-if="options!== null && options.attrs!==null"
ref="deSelectGrid"
@ -246,4 +246,13 @@ export default {
border-radius: 0px;
}
}
.de-select-grid-class {
.list {
overflow-y: auto;
width: 100%;
position: absolute;
top: 0;
bottom: 0;
}
}
</style>