修复下载管理的一些Bug

pull/96/head
lyswhut 2019-09-07 10:43:17 +08:00
parent 05e212682c
commit cafdad6f9f
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,4 @@
### 修复
- 修复下载管理的一些Bug

View File

@ -127,6 +127,7 @@ export default {
break
case 'remove':
this.removeTask(info.index)
break
case 'file':
this.handleOpenFolder(info.index)
break
@ -172,7 +173,9 @@ export default {
this.resetSelect()
},
handleOpenFolder(index) {
openDirInExplorer(this.list[index].filePath)
let path = this.list[index].filePath
if (!checkPath(path)) return
openDirInExplorer(path)
},
},
}