filterRemote过滤时,单条过滤时应该返回true,而不应该返回空否则会报错
This commit is contained in:
parent
f4eea6cc11
commit
257bc4e678
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@
|
|||
filterData (data, column) {
|
||||
return data.filter((row) => {
|
||||
//如果定义了远程过滤方法则忽略此方法
|
||||
if (typeof column.filterRemote === 'function') return;
|
||||
if (typeof column.filterRemote === 'function') return true;
|
||||
|
||||
let status = !column._filterChecked.length;
|
||||
for (let i = 0; i < column._filterChecked.length; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue