更新依赖包到最新,发布0.5.3版本

This commit is contained in:
lyswhut
2019-09-09 01:05:30 +08:00
parent 2014d2495e
commit 1c462ce152
15 changed files with 822 additions and 799 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ export default {
getPlayType(highQuality, songInfo) {
switch (songInfo.source) {
case 'wy':
// case 'kg':
case 'kg':
return '128k'
}
let type = songInfo._types['192k'] ? '192k' : '128k'
+1 -1
View File
@@ -85,7 +85,7 @@ export default {
size,
}
types.push({ type: 'flac', size })
_types['flac'] = {
_types.flac = {
size,
}
}
+1 -1
View File
@@ -215,7 +215,7 @@ export default {
}
if (itemTypes.includes('flac')) {
types.push({ type: 'flac', size })
_types['flac'] = {
_types.flac = {
size,
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ export default {
getInfoUrl(tagId) {
return tagId
? `http://www2.kugou.kugou.com/yueku/v9/special/getSpecial?is_smarty=1&cdn=cdn&t=5&c=${tagId}`
: `http://www2.kugou.kugou.com/yueku/v9/special/getSpecial?is_smarty=1&`
: 'http://www2.kugou.kugou.com/yueku/v9/special/getSpecial?is_smarty=1&'
},
getSongListUrl(sortId, tagId, page) {
if (tagId == null) tagId = ''
+2 -2
View File
@@ -133,13 +133,13 @@ export default {
}
if (formats.indexOf('AL')) {
types.push({ type: 'ape', size: null })
_types['ape'] = {
_types.ape = {
size: null,
}
}
if (formats.indexOf('ALFLAC')) {
types.push({ type: 'flac', size: null })
_types['flac'] = {
_types.flac = {
size: null,
}
}
+1 -1
View File
@@ -183,7 +183,7 @@ export default {
}
if (formats.indexOf('ALFLAC')) {
types.push({ type: 'flac', size: null })
_types['flac'] = {
_types.flac = {
size: null,
}
}
+1 -1
View File
@@ -98,7 +98,7 @@ export default {
case 999000:
size = null
types.push({ type: 'flac', size })
_types['flac'] = {
_types.flac = {
size,
}
case 320000:
+2 -1
View File
@@ -150,7 +150,7 @@ export default {
this.handleStartTask(index)
})
break
case 'pause':
case 'pause': {
let runs = []
this.selectdData.forEach(item => {
if (item.isComplate || item.status == this.downloadStatus.PAUSE) return
@@ -166,6 +166,7 @@ export default {
this.handlePauseTask(index)
})
break
}
case 'remove':
this.removeTaskMultiple(this.selectdData)
break
+2 -1
View File
@@ -152,7 +152,7 @@ export default {
},
handleListBtnClick(info) {
switch (info.action) {
case 'download':
case 'download': {
const minfo = this.list[info.index]
if ((this.isAPITemp && minfo.source != 'kw') || minfo.source == 'tx' || minfo.source == 'wy') return
this.musicInfo = minfo
@@ -160,6 +160,7 @@ export default {
this.isShowDownload = true
})
break
}
case 'play':
this.testPlay(info.index)
break