更新表格高度

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; border-top: 1px solid #ddd;
display: inline-flex; display: inline-flex;
word-break:break-all; word-break:break-all;
padding-top: 10px; padding-top: 3px;
padding-bottom: 10px; padding-bottom: 3px;
} }
.th-td-total { .th-td-total {

View File

@ -346,6 +346,7 @@ onEditRow(status,row){
//敲回车查询 //敲回车查询
iptsureFn(){ iptsureFn(){
this.setState({page:1})
this.getKeyList(); this.getKeyList();
} }
@ -573,6 +574,7 @@ linkTo(row){
componentDidUpdate(prevProps,prevState){ componentDidUpdate(prevProps,prevState){
// 参数分别为改变之前的数据状态对象 // 参数分别为改变之前的数据状态对象
if(prevState.key_word!=this.state.key_word &&!this.state.key_word){ if(prevState.key_word!=this.state.key_word &&!this.state.key_word){
this.getKeyList(); this.getKeyList();
} }