fix(数据大屏): 对齐标线调试

This commit is contained in:
wangjiahao 2024-02-28 09:03:14 +08:00
parent 524d2042f4
commit 392ca66e0c
2 changed files with 115 additions and 119 deletions

View File

@ -26,6 +26,6 @@ export default {
}
}
},
sourcemap: false
sourcemap: true
}
}

View File

@ -34,7 +34,6 @@ const showLine = (isDownward, isRightward) => {
hideLine()
components.forEach(component => {
try {
if (component === curComponent.value) return
const componentStyle = getComponentRotatedStyle(component.style)
const { top, left, bottom, right } = componentStyle
@ -153,9 +152,6 @@ const showLine = (isDownward, isRightward) => {
if (needToShow.length) {
chooseTheTrueLine(needToShow, isDownward, isRightward)
}
} catch (e) {
console.warn('markLine disabled')
}
})
}