From acc6c4a64e7db3386e24c4c5e30e2515d1867037 Mon Sep 17 00:00:00 2001 From: H <21418592@qq.com> Date: Fri, 7 Apr 2017 12:01:01 +0800 Subject: [PATCH] filterRemotec.call(this.$parent,value,key,column) 把table对象传给filterRemote --- src/components/table/table.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/table.vue b/src/components/table/table.vue index dbc2cd1..4df6133 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -510,7 +510,7 @@ filterOtherData (data, index) { let column = this.cloneColumns[index]; if(typeof column.filterRemote == 'function'){ - column.filterRemote.call(this.currentContext,column._filterChecked,column.key,column); + column.filterRemote.call(this.$parent,column._filterChecked,column.key,column); } this.cloneColumns.forEach((col, colIndex) => { -- libgit2 0.21.4