Merge pull request #6341 from dataease/pr@dev-v2@style_track-bar

style: 联动下钻弹框样式变更
This commit is contained in:
王嘉豪 2023-10-24 17:57:27 +08:00 committed by GitHub
commit 1bb2d2d324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ const action = param => {
trackClick(trackMenu.value[0])
} else {
//
state.trackBarStyle.left = param.x + 'px'
state.trackBarStyle.left = param.x - 50 + 'px'
state.trackBarStyle.top = param.y + 10 + 'px'
viewTrack.value.trackButtonClick()
}

View File

@ -213,7 +213,7 @@ const action = param => {
trackClick(trackMenu.value[0])
} else {
//
state.trackBarStyle.left = param.x + 'px'
state.trackBarStyle.left = param.x - 50 + 'px'
state.trackBarStyle.top = param.y + 10 + 'px'
viewTrack.value.trackButtonClick()
}