mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 12:18:46 +08:00
Table: fix single filter active state
This commit is contained in:
parent
4d2fac6f60
commit
678cf1103f
@ -19,7 +19,7 @@
|
||||
<div class="el-table-filter" v-else v-show="showPopper">
|
||||
<ul class="el-table-filter__list">
|
||||
<li class="el-table-filter__list-item"
|
||||
:class="{ 'is-active': !filterValue }"
|
||||
:class="{ 'is-active': filterValue === undefined || filterValue === null }"
|
||||
@click="handleSelect(null)">{{ t('el.table.clearFilter') }}</li>
|
||||
<li class="el-table-filter__list-item"
|
||||
v-for="filter in filters"
|
||||
|
Loading…
Reference in New Issue
Block a user