Commit 39847b8929851e0d031df88f1a1188ecf02573c5
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,7 +57,7 @@ | ||
| 57 | let methods = {}; | 57 | let methods = {}; |
| 58 | Object.keys($parent).forEach(key => { | 58 | Object.keys($parent).forEach(key => { |
| 59 | const func = $parent[key]; | 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 | methods[key] = func; | 61 | methods[key] = func; |
| 62 | } | 62 | } |
| 63 | }); | 63 | }); |