mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: table嵌套在form以及affixHeader模式下自适应问题修复 (#8741)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
This commit is contained in:
parent
515a978054
commit
124c096801
@ -666,6 +666,7 @@
|
||||
flex: 1;
|
||||
flex-wrap: wrap;
|
||||
font-size: var(--fontSizeLg);
|
||||
min-width: 0;
|
||||
|
||||
.#{$ns}ColorPicker {
|
||||
> input {
|
||||
|
@ -2124,6 +2124,7 @@ export class Table extends React.PureComponent<TableProps, TableState> {
|
||||
return;
|
||||
}
|
||||
|
||||
this.syncTableWidth();
|
||||
this.initTableWidth();
|
||||
}
|
||||
|
||||
|
@ -1302,6 +1302,7 @@ export default class Table extends React.Component<TableProps, object> {
|
||||
if (this.resizeLine) {
|
||||
return;
|
||||
}
|
||||
this.props.store.syncTableWidth();
|
||||
this.props.store.initTableWidth();
|
||||
this.handleOutterScroll();
|
||||
callback && setTimeout(callback, 20);
|
||||
|
Loading…
Reference in New Issue
Block a user