提交 e3c6b951 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

feat: 增加视图和组件判断

上级 8bbb8c7e
......@@ -245,18 +245,10 @@ export default {
component.propValue = propValue
}
})
} else {
component = deepCopy(ApplicationContext.getService(componentInfo.id))
}
debugger
// 其他组件设置
// componentList.forEach(componentTemp => {
// if (componentInfo.id === componentTemp.id) {
// component = deepCopy(componentTemp)
// }
// })
component = deepCopy(ApplicationContext.getService(componentInfo.id))
component.style.top = e.offsetY
component.style.left = e.offsetX
component.id = newComponentId
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论