footable 拖拽改用原来的模式

This commit is contained in:
liaoxuezhi 2019-08-14 16:55:12 +08:00
parent 7380974f89
commit a433c1cc9a
2 changed files with 8 additions and 1 deletions

View File

@ -376,6 +376,13 @@
padding-right: 0; padding-right: 0;
} }
> thead > tr > th.#{$ns}Table-dragCell,
> tbody > tr > td.#{$ns}Table-dragCell {
border-right: 0;
width: px2rem(1px);
padding-right: 0;
}
> tbody > tr > td.#{$ns}Table-expandCell { > tbody > tr > td.#{$ns}Table-expandCell {
position: relative; position: relative;
@for $i from 1 through 7 { @for $i from 1 through 7 {

View File

@ -580,7 +580,7 @@ export const TableStore = iRendererStore
} }
self.rows.replace(arr as Array<IRow>); self.rows.replace(arr as Array<IRow>);
self.isNested = self.rows.some(item => item.expandable); self.isNested = self.rows.some(item => item.children.length);
const expand = self.footable && self.footable.expand; const expand = self.footable && self.footable.expand;
if (expand === 'first' || self.expandConfig && self.expandConfig.expand === 'first') { if (expand === 'first' || self.expandConfig && self.expandConfig.expand === 'first') {