湖里大屏(进度计划):新增 tooltips 偏移逻辑
This commit is contained in:
parent
d98c8a421a
commit
8679ff66d4
@ -232,7 +232,7 @@ export default {
|
|||||||
const decreaseLeft = clientX - 680
|
const decreaseLeft = clientX - 680
|
||||||
const decreaseTop = clientY - 200
|
const decreaseTop = clientY - 200
|
||||||
this.tooltipsStyle = {
|
this.tooltipsStyle = {
|
||||||
left: decreaseLeft + 'px',
|
left: decreaseLeft + this.scrollLeft + 'px',
|
||||||
top: decreaseTop + 'px',
|
top: decreaseTop + 'px',
|
||||||
display: 'block'
|
display: 'block'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user