fix 下载
This commit is contained in:
parent
00a5eb7c9c
commit
cb4b4db6b8
@ -43,12 +43,12 @@ function startDown(){
|
|||||||
let name = dowloadlist[0].title
|
let name = dowloadlist[0].title
|
||||||
clientList.forEach((i)=>{
|
clientList.forEach((i)=>{
|
||||||
i.send(isok ? `${name}下载完成` : data )
|
i.send(isok ? `${name}下载完成` : data )
|
||||||
|
})
|
||||||
if(isok){
|
if(isok){
|
||||||
dowloadlist.shift()
|
dowloadlist.shift()
|
||||||
start = false
|
start = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
|
||||||
}
|
}
|
||||||
setInterval(()=>{
|
setInterval(()=>{
|
||||||
if(dowloadlist.length != 0 && !start){
|
if(dowloadlist.length != 0 && !start){
|
||||||
|
Loading…
Reference in New Issue
Block a user