File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,22 +36,23 @@ export default {
3636
3737 // 最后一列不允许拖动
3838 /*if (this.internalColumns[this.internalColumns.length - 1].field === column) {
39- return false;
40- }*/
39+ return false;
40+ }*/
4141
4242 if ( ! this . showVerticalBorder ) {
4343 return false ;
4444 }
4545
4646 target = event . target ;
4747
48- while ( target && target . className && target . className . indexOf ( 'v-table-title-cell' ) === - 1 ) {
48+ while ( target && ( ( target . className && target . className . indexOf ( 'v-table-title-cell' ) === - 1 ) || ! target . className ) ) {
4949 target = target . parentNode ;
5050 }
5151
5252 rect = target . getBoundingClientRect ( ) ;
5353
5454 const bodyStyle = document . body . style ;
55+
5556 if ( rect . width >= this . minColumnWidth && rect . right - event . pageX < 10 ) {
5657
5758 if ( ! this . isDragging ) { // 拖动中不设置
You can’t perform that action at this time.
0 commit comments