mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
footable 拖拽改用原来的模式
This commit is contained in:
parent
7380974f89
commit
a433c1cc9a
@ -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 {
|
||||||
|
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user