From b3757fd6b55e619689bc88ce177895731e41cee7 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sun, 7 Mar 2021 12:22:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=8F=B3=E5=87=BB=E6=9C=AA=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=9A=84=E6=AD=8C=E6=9B=B2=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E7=9A=84=E5=8F=B3=E5=87=BB=E8=8F=9C=E5=8D=95=E4=B8=AD=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=BC=80=E5=A7=8B=E4=B8=8B=E8=BD=BD=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/renderer/views/Download.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index 47d9ffa3..de30672b 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -23,6 +23,7 @@ - 修复mg源歌单列表无法加载的问题 - 修复kg跳转到官方歌曲详情页的歌曲无法播放的问题 - 修复我的列表的歌曲添加到其他列表时不排除当前列表的问题 +- 修复在下载列表右击未下载完成的歌曲弹出的右击菜单中没有开始下载选项的问题 ### 变更 diff --git a/src/renderer/views/Download.vue b/src/renderer/views/Download.vue index 8e265de7..4dd190cc 100644 --- a/src/renderer/views/Download.vue +++ b/src/renderer/views/Download.vue @@ -386,12 +386,12 @@ export default { this.listMenu.itemMenuControl.file = true this.listMenu.itemMenuControl.start = this.listMenu.itemMenuControl.pause = false - // } else if (item.status === this.downloadStatus.ERROR || item.status === this.downloadStatus.PAUSE) { - // this.listMenu.itemMenuControl.play = - // this.listMenu.itemMenuControl.playLater = - // this.listMenu.itemMenuControl.pause = - // this.listMenu.itemMenuControl.file = false - // this.listMenu.itemMenuControl.start = true + } else if (item.status === this.downloadStatus.ERROR || item.status === this.downloadStatus.PAUSE) { + this.listMenu.itemMenuControl.play = + this.listMenu.itemMenuControl.playLater = + this.listMenu.itemMenuControl.pause = + this.listMenu.itemMenuControl.file = false + this.listMenu.itemMenuControl.start = true } else { this.listMenu.itemMenuControl.play = this.listMenu.itemMenuControl.playLater =