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

feat: 增加视图和组件判断

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