mirror of https://github.com/ElemeFE/element
Table : fix table draggable
parent
5390f4069e
commit
1d715dc67f
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue