mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化vcFramework.js
This commit is contained in:
parent
4d5961417d
commit
ea7d1c829f
@ -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 属性';
|
throw '组件未包含path 属性'+_tree.vcCreate;
|
||||||
}
|
}
|
||||||
//开始加载组件
|
//开始加载组件
|
||||||
let _componentElement = await loadComponent(_componentName, _tree);
|
let _componentElement = await loadComponent(_componentName, _tree);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user