Merge pull request #632 from dataease/pr@dev@fix_文本列表组件没有滚动条

feat: 文本列表组件增加滚动条
This commit is contained in:
fit2cloud-chenyw 2021-08-16 14:46:38 +08:00 committed by GitHub
commit 705cd03a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>