fix(table): 禁止拖拽列宽后仍可拖拽 (#1591)

close #1590
This commit is contained in:
morning-star 2024-01-30 18:17:06 +08:00 committed by GitHub
parent d9c91eaccd
commit 900f8cbca8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2154,6 +2154,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
}).on('mouseleave', function(){ }).on('mouseleave', function(){
var othis = $(this); var othis = $(this);
if(thisTable.eventMoveElem) return; if(thisTable.eventMoveElem) return;
dict.allowResize = false;
_BODY.css('cursor', ''); _BODY.css('cursor', '');
}).on('mousedown', function(e){ }).on('mousedown', function(e){
var othis = $(this); var othis = $(this);