forked from github/dataease
fix(数据大屏): 对齐标线调试
This commit is contained in:
parent
524d2042f4
commit
392ca66e0c
@ -26,6 +26,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sourcemap: false
|
sourcemap: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,6 @@ const showLine = (isDownward, isRightward) => {
|
|||||||
|
|
||||||
hideLine()
|
hideLine()
|
||||||
components.forEach(component => {
|
components.forEach(component => {
|
||||||
try {
|
|
||||||
if (component === curComponent.value) return
|
if (component === curComponent.value) return
|
||||||
const componentStyle = getComponentRotatedStyle(component.style)
|
const componentStyle = getComponentRotatedStyle(component.style)
|
||||||
const { top, left, bottom, right } = componentStyle
|
const { top, left, bottom, right } = componentStyle
|
||||||
@ -153,9 +152,6 @@ const showLine = (isDownward, isRightward) => {
|
|||||||
if (needToShow.length) {
|
if (needToShow.length) {
|
||||||
chooseTheTrueLine(needToShow, isDownward, isRightward)
|
chooseTheTrueLine(needToShow, isDownward, isRightward)
|
||||||
}
|
}
|
||||||
} catch (e) {
|
|
||||||
console.warn('markLine disabled')
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user