Merge pull request #12024 from dataease/pr@dev-v2@style_chart
style: 样式调整
This commit is contained in:
commit
0bdc049393
@ -250,7 +250,7 @@ export function refreshOtherComponent(dvId, busiFlag) {
|
|||||||
for (let i = 0; i < componentData.value.length; i++) {
|
for (let i = 0; i < componentData.value.length; i++) {
|
||||||
const component = componentData.value[i]
|
const component = componentData.value[i]
|
||||||
if (refreshIdList.includes(component.id) && canvasDataResultMap[component.id]) {
|
if (refreshIdList.includes(component.id) && canvasDataResultMap[component.id]) {
|
||||||
const { top, left, height, width } = componentData.value[i]
|
const { top, left, height, width } = componentData.value[i].style
|
||||||
canvasDataResultMap[component.id].style.top = top
|
canvasDataResultMap[component.id].style.top = top
|
||||||
canvasDataResultMap[component.id].style.left = left
|
canvasDataResultMap[component.id].style.left = left
|
||||||
canvasDataResultMap[component.id].style.height = height
|
canvasDataResultMap[component.id].style.height = height
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user