mirror of https://github.com/ElemeFE/element
parent
49473ffafc
commit
df7bbe2ba4
|
@ -6,12 +6,14 @@
|
||||||
v-clickoutside="handleOutsideClick"
|
v-clickoutside="handleOutsideClick"
|
||||||
v-show="showPopper">
|
v-show="showPopper">
|
||||||
<div class="el-table-filter__content">
|
<div class="el-table-filter__content">
|
||||||
<el-checkbox-group class="el-table-filter__checkbox-group" v-model="filteredValue">
|
<el-scrollbar wrap-class="el-table-filter__wrap">
|
||||||
<el-checkbox
|
<el-checkbox-group class="el-table-filter__checkbox-group" v-model="filteredValue">
|
||||||
v-for="filter in filters"
|
<el-checkbox
|
||||||
:key="filter.value"
|
v-for="filter in filters"
|
||||||
:label="filter.value">{{ filter.text }}</el-checkbox>
|
:key="filter.value"
|
||||||
</el-checkbox-group>
|
:label="filter.value">{{ filter.text }}</el-checkbox>
|
||||||
|
</el-checkbox-group>
|
||||||
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="el-table-filter__bottom">
|
<div class="el-table-filter__bottom">
|
||||||
<button @click="handleConfirm"
|
<button @click="handleConfirm"
|
||||||
|
|
|
@ -76,11 +76,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include e(wrap) {
|
||||||
|
max-height: 280px;
|
||||||
|
}
|
||||||
|
|
||||||
@include e(checkbox-group) {
|
@include e(checkbox-group) {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
label.el-checkbox {
|
label.el-checkbox {
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-right: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue