Table: fix single filter active state

This commit is contained in:
Leopoldthecoder 2017-09-17 09:59:34 +08:00 committed by 杨奕
parent 4d2fac6f60
commit 678cf1103f

View File

@ -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"