KaysonCui 5 years ago
parent
commit
232298516c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      front/src/containers/Page.js

+ 1 - 1
front/src/containers/Page.js

@@ -140,7 +140,7 @@ export default class extends Component {
     });
   }
 
-  search(data, refresh) {
+  search(data, refresh = true) {
     const query = Object.assign(this.state.search, data);
     if (refresh) {
       this.refreshQuery(query);