Commit acc6c4a64e7db3386e24c4c5e30e2515d1867037

Authored by H
1 parent 12bcf7bd

filterRemotec.call(this.$parent,value,key,column) 把table对象传给filterRemote

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/table/table.vue
... ... @@ -510,7 +510,7 @@
510 510 filterOtherData (data, index) {
511 511 let column = this.cloneColumns[index];
512 512 if(typeof column.filterRemote == 'function'){
513   - column.filterRemote.call(this.currentContext,column._filterChecked,column.key,column);
  513 + column.filterRemote.call(this.$parent,column._filterChecked,column.key,column);
514 514 }
515 515  
516 516 this.cloneColumns.forEach((col, colIndex) => {
... ...