Table : fix table draggable

pull/21431/head
王叨叨 2021-11-02 17:34:13 +08:00
parent 5390f4069e
commit 1d715dc67f
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ export default {
let rect = target.getBoundingClientRect();
const bodyStyle = document.body.style;
if (rect.width > 12 && rect.right - event.pageX < 8) {
if (rect.width > 12 && rect.right - event.clientX < 8) {
bodyStyle.cursor = 'col-resize';
if (hasClass(target, 'is-sortable')) {
target.style.cursor = 'col-resize';