diff --git a/src/Core.js b/src/Core.js index 3f2ded0f..25c5a68b 100644 --- a/src/Core.js +++ b/src/Core.js @@ -198,6 +198,10 @@ export default function Core(options) { entity.declWrappers = null; } + if(entityCls) { + (entity.wrappedCls || entityCls).default = (entity.wrappedCls || entityCls); + } + return entity.wrappedCls || entityCls; }