diff --git a/examples/routers/table.vue b/examples/routers/table.vue index e48f4fa..374504c 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -1,94 +1,75 @@ diff --git a/src/components/table/cell.vue b/src/components/table/cell.vue index 1f7a63b..b488eae 100644 --- a/src/components/table/cell.vue +++ b/src/components/table/cell.vue @@ -60,7 +60,7 @@ this.$el.innerHTML = ''; let methods = {}; Object.keys($parent).forEach(key => { - const func = this.$parent.$parent.$parent[`${key}`]; + const func = $parent[`${key}`]; if (typeof(func) === 'function' && func.name === 'boundFn') { methods[`${key}`] = func; } -- libgit2 0.21.4