滚动分页场景嵌套滚动分页表格场景
This commit is contained in:
parent
4403e3c6a8
commit
c155912250
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -558,6 +558,7 @@ class TableHeader extends Component {
|
|||
if(da.textAlign){
|
||||
thClassName += ` text-${da.textAlign}`;
|
||||
}
|
||||
delete da.textAlign;
|
||||
const keyTemp = {};
|
||||
//避免key为undefined
|
||||
// if(da.dataindex && da.key ===undefined ){
|
||||
|
|
|
@ -79,14 +79,8 @@ class TableRow extends Component{
|
|||
componentDidUpdate(prevProps) {
|
||||
if(this.props.treeType){
|
||||
this.setRowParentIndex();
|
||||
this.setRowHeight()
|
||||
// if(this.props.fixedIndex!== prevProps.fixedIndex){
|
||||
// this.setRowHeight()
|
||||
// }
|
||||
}else if(this.props.index !== prevProps.index){
|
||||
this.setRowHeight()
|
||||
}
|
||||
|
||||
this.setRowHeight()
|
||||
}
|
||||
componentWillUnmount() {
|
||||
const { record, onDestroy, index } = this.props;
|
||||
|
|
Loading…
Reference in New Issue