更新表格高度
This commit is contained in:
parent
68182267bd
commit
95a2f6aa8e
|
@ -97,8 +97,8 @@
|
|||
border-top: 1px solid #ddd;
|
||||
display: inline-flex;
|
||||
word-break:break-all;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.th-td-total {
|
||||
|
|
|
@ -346,6 +346,7 @@ onEditRow(status,row){
|
|||
|
||||
//敲回车查询
|
||||
iptsureFn(){
|
||||
this.setState({page:1})
|
||||
this.getKeyList();
|
||||
}
|
||||
|
||||
|
@ -573,6 +574,7 @@ linkTo(row){
|
|||
componentDidUpdate(prevProps,prevState){
|
||||
// 参数分别为改变之前的数据状态对象
|
||||
if(prevState.key_word!=this.state.key_word &&!this.state.key_word){
|
||||
|
||||
this.getKeyList();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue