|  |  | @ -12,13 +12,15 @@ import { fetchStaticList } from "../../services/staticService"; | 
			
		
	
		
		
			
				
					
					|  |  |  | export const staticList = (id) => { |  |  |  | export const staticList = (id) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |   return (dispatch, getState) => { |  |  |  |   return (dispatch, getState) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |     const { params, total_count, other_info } = getState().staticReducer; |  |  |  |     const { params, total_count, other_info } = getState().staticReducer; | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (other_info.length===20||total_count !== 0 && total_count === other_info.length) return; |  |  |  |     //    console.log('统计数据=====>>>>>', params);
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     //  if (total_count !== 0 && total_count === other_info.length) return;
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     fetchStaticList(id, params).then(res => { |  |  |  |     fetchStaticList(id, params).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |       // console.log('统计数据=====>>>>>', res);
 |  |  |  |       // console.log('统计数据=====>>>>>', res);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       const {data} = res; |  |  |  |       const {data} = res; | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (data.status === 0) { |  |  |  |       if (data.status === 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         dispatch({ |  |  |  |         dispatch({ | 
			
		
	
		
		
			
				
					
					|  |  |  |           type: types.GET_STATIC_INFO, |  |  |  |           type: types.GET_STATIC_INFO, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           other_info:data.data.other_info, | 
			
		
	
		
		
			
				
					
					|  |  |  |           payload: data.data |  |  |  |           payload: data.data | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |