张延森 5 years ago
parent
commit
2bfca8f0f3
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      src/layouts/SearchList/index.jsx
  2. 1
    1
      src/pages/news/type/NewsType.jsx

+ 3
- 3
src/layouts/SearchList/index.jsx View File

@@ -19,7 +19,7 @@ class SearchList extends React.PureComponent {
19 19
     body: PropTypes.object,
20 20
     pagination: PropTypes.object,
21 21
     service: PropTypes.func,
22
-    reServe: PropTypes.func,
22
+    ejectRetrieve: PropTypes.func,
23 23
   }
24 24
 
25 25
   state = {
@@ -34,8 +34,8 @@ class SearchList extends React.PureComponent {
34 34
   }
35 35
 
36 36
   componentDidMount () {
37
-    if (this.props.reServe) {
38
-      this.props.reServe(this.queryData)
37
+    if (this.props.ejectRetrieve) {
38
+      this.props.ejectRetrieve(this.queryData)
39 39
     }
40 40
   }
41 41
   

+ 1
- 1
src/pages/news/type/NewsType.jsx View File

@@ -82,7 +82,7 @@ export default function NewsType(props) {
82 82
       actions={renderActions()}
83 83
       service={getNewsTypeList}
84 84
       search={{ fields: conditions }}
85
-      reServe={handleReServe}
85
+      ejectRetrieve={handleReServe}
86 86
       body={{ columns, rowKey }}
87 87
       pagination={{ keyOfPageNumber: 'pageNum' }}
88 88
     />