fix: 档位数据

This commit is contained in:
wangzhongjie 2025-09-08 13:52:49 +08:00
parent 02a8750ce6
commit 3f8ebbd16d

View File

@ -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)
}