fix 下载

This commit is contained in:
Theluyuan 2023-06-15 10:45:32 +08:00
parent 00a5eb7c9c
commit cb4b4db6b8

View File

@ -43,12 +43,12 @@ function startDown(){
let name = dowloadlist[0].title
clientList.forEach((i)=>{
i.send(isok ? `${name}下载完成` : data )
})
if(isok){
dowloadlist.shift()
start = false
}
})
})
}
setInterval(()=>{
if(dowloadlist.length != 0 && !start){