fix: 档位数据
This commit is contained in:
		
							parent
							
								
									02a8750ce6
								
							
						
					
					
						commit
						3f8ebbd16d
					
				| @ -122,7 +122,9 @@ export default async function tempRequest<T>(req: any): Promise<T> { | ||||
|       reject({ | ||||
|         code: e.code | ||||
|       }) | ||||
| 
 | ||||
|     } finally { | ||||
|       httpRequest.destroy(); | ||||
|       console.log('httpRequest destroy finally') | ||||
|     } | ||||
|   }) | ||||
| 
 | ||||
| @ -162,12 +164,12 @@ async function xmlToJson(result, url) { | ||||
|     if (result.length > 10000) { | ||||
|       setTimeout(() => { | ||||
|         let res = deeml(xmlArr); | ||||
|         console.log("xmlToJson end",JSON.stringify(res) ); | ||||
|         console.log("xmlToJson end", JSON.stringify(res)); | ||||
|         resolve(res) | ||||
|       }, 10000) | ||||
|     } else { | ||||
|       let res = deeml(xmlArr); | ||||
|       console.log("xmlToJson end",JSON.stringify(res) ); | ||||
|       console.log("xmlToJson end", JSON.stringify(res)); | ||||
|       resolve(res) | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user