Skip to content

Commit

Permalink
fix: download
Browse files Browse the repository at this point in the history
  • Loading branch information
ikun0014 committed Oct 5, 2024
1 parent 4125531 commit 73544bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/utils/musicSdk/wy/musicDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export default {

if (privilege.chargeInfoList.length > 4 && privilege.chargeInfoList[4].rate == 1999000 && privilege.chargeInfoList[4].chargeType == 1) {
types.push({ type: 'master' })
_types.master = {}
_types.master = {
size: null,
}
}
if (privilege.maxBrLevel == 'hires') {
size = item.hr ? sizeFormate(item.hr.size) : null
Expand Down
4 changes: 3 additions & 1 deletion src/utils/musicSdk/wy/musicSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export default {

if (item.privilege.chargeInfoList.length > 4 && item.privilege.chargeInfoList[4].rate == 1999000 && item.privilege.chargeInfoList[4].chargeType == 1) {
types.push({ type: 'master' })
_types.master = {}
_types.master = {
size: null,
}
}
if (item.privilege.maxBrLevel == 'hires') {
size = item.hr ? sizeFormate(item.hr.size) : null
Expand Down
4 changes: 3 additions & 1 deletion src/utils/musicSdk/wy/songList.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ export default {

if (privilege.chargeInfoList.length > 4 && privilege.chargeInfoList[4].rate == 1999000 && privilege.chargeInfoList[4].chargeType == 1) {
types.push({ type: 'master' })
_types.master = {}
_types.master = {
size: null,
}
}
if (privilege.maxBrLevel == 'hires') {
size = item.hr ? sizeFormate(item.hr.size) : null
Expand Down

0 comments on commit 73544bc

Please sign in to comment.