优化打印

This commit is contained in:
wuxw 2020-05-02 16:57:46 +08:00
parent fbb1085ceb
commit ecfb7557a4

View File

@ -224,7 +224,7 @@
let _componentName = _tree.vcCreate.getAttribute('path'); let _componentName = _tree.vcCreate.getAttribute('path');
//console.log('_componentName', _componentName, _tree); //console.log('_componentName', _componentName, _tree);
if (!vcFramework.isNotEmpty(_componentName)) { if (!vcFramework.isNotEmpty(_componentName)) {
throw '组件未包含path 属性'+_tree.vcCreate.outHtml; throw '组件未包含path 属性'+_tree.vcCreate.outerHTML;
} }
//开始加载组件 //开始加载组件
let _componentElement = await loadComponent(_componentName, _tree); let _componentElement = await loadComponent(_componentName, _tree);