张延森 5 yıl önce
ebeveyn
işleme
2bfca8f0f3

+ 3
- 3
src/layouts/SearchList/index.jsx Dosyayı Görüntüle

19
     body: PropTypes.object,
19
     body: PropTypes.object,
20
     pagination: PropTypes.object,
20
     pagination: PropTypes.object,
21
     service: PropTypes.func,
21
     service: PropTypes.func,
22
-    reServe: PropTypes.func,
22
+    ejectRetrieve: PropTypes.func,
23
   }
23
   }
24
 
24
 
25
   state = {
25
   state = {
34
   }
34
   }
35
 
35
 
36
   componentDidMount () {
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 Dosyayı Görüntüle

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