forked from github/dataease
feat: 增加视图和组件判断
This commit is contained in:
parent
8bbb8c7e9b
commit
e3c6b951dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user