update Table cell

update Table cell
This commit is contained in:
梁灏 2017-03-09 16:03:36 +08:00
parent 87a400d85e
commit 3c38e4f7f1
2 changed files with 41 additions and 60 deletions

View file

@ -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;
}