fix(数据大屏): 修复对标线未显示问题

This commit is contained in:
wangjiahao 2024-02-28 11:05:58 +08:00
parent 81c711ca41
commit edc695ad53

View File

@ -26,7 +26,7 @@ const hideLine = () => {
}
const showLine = (isDownward, isRightward) => {
const linesRef = currentInstance.ctx.$refs
const linesRef = currentInstance.proxy.$refs
const components = componentData.value
const curComponentStyle = getComponentRotatedStyle(curComponent.value.style)
const curComponentHalfWidth = curComponentStyle.width / 2