mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 12:03:05 +08:00
feat: 增加视图和组件判断
This commit is contained in:
parent
8bbb8c7e9b
commit
e3c6b951dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user