Commit 39847b8929851e0d031df88f1a1188ecf02573c5

Authored by 梁灏
1 parent c9080021

fixed #454

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/table/cell.vue
... ... @@ -57,7 +57,7 @@
57 57 let methods = {};
58 58 Object.keys($parent).forEach(key => {
59 59 const func = $parent[key];
60   - if (typeof(func) === 'function' && func.name === 'boundFn') {
  60 + if (typeof(func) === 'function' && (func.name === 'boundFn' || func.name === 'n')) {
61 61 methods[key] = func;
62 62 }
63 63 });
... ...