Sfoglia il codice sorgente

重置重新请求

傅行帆 5 anni fa
parent
commit
643de0b4de

+ 1
- 0
src/pages/carouselFigure/advertisingList.jsx Vedi File

@@ -210,6 +210,7 @@ const handleSubmit = (e, props) => {
210 210
    //重置搜索
211 211
    function handleReset() {
212 212
     props.form.resetFields();
213
+    getList({ pageNum: 1, pageSize: 10, showType: 'screen' });
213 214
   }
214 215
 
215 216
 

+ 1
- 0
src/pages/carouselFigure/carouselFigureList.jsx Vedi File

@@ -208,6 +208,7 @@ const handleSubmit = (e, props) => {
208 208
    //重置搜索
209 209
    function handleReset() {
210 210
     props.form.resetFields();
211
+    getList({ pageNum: 1, pageSize: 10, showType: 'banner' });
211 212
   }
212 213
 
213 214
   const { getFieldDecorator } = props.form

+ 1
- 0
src/pages/carouselFigure/propagandaList.jsx Vedi File

@@ -210,6 +210,7 @@ const handleSubmit = (e, props) => {
210 210
    //重置搜索
211 211
    function handleReset() {
212 212
     props.form.resetFields();
213
+    getList({ pageNum: 1, pageSize: 10, showType: 'propaganda' });
213 214
   }
214 215
 
215 216
 

+ 1
- 0
src/pages/news/list/NewsList.jsx Vedi File

@@ -255,6 +255,7 @@ function body(props) {
255 255
   //重置搜索
256 256
   function handleReset() {
257 257
     props.form.resetFields();
258
+    getList({ pageNum: 1, pageSize: 6 })
258 259
   }
259 260
 
260 261
   function getDate(value, dateString) {