更新表格高度

This commit is contained in:
姜棚 2021-12-22 15:38:23 +08:00
parent 68182267bd
commit 95a2f6aa8e
2 changed files with 4 additions and 2 deletions

View File

@ -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 {

View File

@ -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();
}