mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:22:24 +08:00
Update bar.vue
This commit is contained in:
parent
4202e176c6
commit
4a8ead95dd
@ -48,7 +48,7 @@ export default defineComponent({
|
||||
}
|
||||
window.getSelection().removeAllRanges()
|
||||
startDrag(e)
|
||||
barStore.value[bar.value.axis] = (e.currentTarget[bar.value.offset] - (e[bar.value.client] - e.currentTarget.getBoundingClientRect()[bar.value.direction]))
|
||||
barStore.value[bar.value.axis] = (e.currentTarget[bar.value.offset] - (e[bar.value.client] - (e.currentTarget as HTMLElement).getBoundingClientRect()[bar.value.direction]))
|
||||
}
|
||||
|
||||
const clickTrackHandler = (e: MouseEvent) => {
|
||||
|
Loading…
Reference in New Issue
Block a user