Merge pull request #8203 from dataease/pr@dev-v2@fix_markline3

fix(数据大屏): 修复对标线未显示问题
This commit is contained in:
王嘉豪 2024-02-28 11:07:28 +08:00 committed by GitHub
commit 84dccd3481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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