diff --git a/src/components/gird/main.css b/src/components/gird/main.css index 7f3fb4b4..ba00cc8b 100644 --- a/src/components/gird/main.css +++ b/src/components/gird/main.css @@ -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 { diff --git a/src/pages/plan/key/list.js b/src/pages/plan/key/list.js index 7b4e4af9..5736c379 100644 --- a/src/pages/plan/key/list.js +++ b/src/pages/plan/key/list.js @@ -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(); }