fix:最后一个非固定列不可以拖拽

This commit is contained in:
izbz wh 2019-06-13 14:47:48 +08:00
parent 0bb92b4f15
commit 3222a6d47e
6 changed files with 11 additions and 4 deletions

View File

@ -258,6 +258,8 @@
box-sizing: border-box; }
.u-table-drag-border tr th.th-can-not-drag {
overflow: hidden; }
.u-table-drag-border tr th.th-can-not-drag .u-table-thead-th-drag-gap {
display: none; }
.u-table-header {
overflow: hidden;
background: rgb(241, 242, 245);

2
dist/demo.css vendored
View File

@ -244,6 +244,8 @@
box-sizing: border-box; }
.u-table-drag-border tr th.th-can-not-drag {
overflow: hidden; }
.u-table-drag-border tr th.th-can-not-drag .u-table-thead-th-drag-gap {
display: none; }
.u-table-header {
overflow: hidden;
background: rgb(241, 242, 245);

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -184,6 +184,9 @@ $icon-color:#505F79;
tr {
th.th-can-not-drag{ //拖拽tag影响了表格整体宽度
overflow: hidden;
.u-table-thead-th-drag-gap{//最后一个非固定列不可以拖拽
display: none;
}
}
}
}