This commit is contained in:
梁灏 2017-03-22 09:51:42 +08:00
parent c908002175
commit 39847b8929

View file

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