上线里站搜索,修复提交任务后看不到downloader的bug,修复提交任务后再次查询可以直接操作的bug(同步更新)
This commit is contained in:
+2
-1
@@ -432,6 +432,7 @@ const mutations = {
|
||||
state.chosenGallery.createTimeDisplay = "等待下载完成后再查看"
|
||||
state.chosenGallery.progress = "已提交"
|
||||
state.chosenGallery.tag = ""
|
||||
state.chosenGallery.downloader = state.userId
|
||||
state.totalGalleryTask.push(state.chosenGallery)
|
||||
state.downloadGallery.push(state.chosenGallery)
|
||||
}
|
||||
@@ -614,6 +615,6 @@ function deleteTask(tasks, key, value){
|
||||
for(let i=0; i<tasks[j].length; i++)
|
||||
if(tasks[j][i][key] === value){
|
||||
tasks[j].splice(i, 1)
|
||||
break
|
||||
return
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user