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()
|
||||
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')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user