From 39847b8929851e0d031df88f1a1188ecf02573c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Wed, 22 Mar 2017 09:51:42 +0800 Subject: [PATCH] fixed #454 --- src/components/table/cell.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/cell.vue b/src/components/table/cell.vue index 7a8c188e..f005b1cb 100644 --- a/src/components/table/cell.vue +++ b/src/components/table/cell.vue @@ -57,7 +57,7 @@ let methods = {}; Object.keys($parent).forEach(key => { const func = $parent[key]; - if (typeof(func) === 'function' && func.name === 'boundFn') { + if (typeof(func) === 'function' && (func.name === 'boundFn' || func.name === 'n')) { methods[key] = func; } });