Skip to content

Commit

Permalink
fix: 修复下载权限错误 & 播放器界面显示异常
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Dec 5, 2023
1 parent f0ed78e commit 0af0ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Modal/DownloadSong.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ const openDownloadModal = (data) => {
router.currentRoute.value.name === "cloud" ||
data?.fee === 0 ||
data?.pc ||
userData.detail?.profile?.vipType !== 0
userData.value.detail?.profile?.vipType !== 0
) {
return toDownload();
}
// 权限不足
if (data?.fee !== 0 && userData.detail?.profile?.vipType !== 11 && !data?.pc) {
if (data?.fee !== 0 && userData.value.detail?.profile?.vipType !== 11 && !data?.pc) {
return $message.warning("账号会员等级不足,请提升权限");
}
$message.warning("账号会员等级不足,请提升权限");
Expand Down
2 changes: 1 addition & 1 deletion src/components/Player/FullPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
</div>
<div class="right">
<!-- 唱片模式下信息 -->
<div v-if="playCoverType === 'record'" class="data">
<div v-if="playCoverType === 'record' && isHasLrc" class="data">
<div class="name">
<span class="name-text">{{ music.getPlaySongData.name || "未知曲目" }}</span>
<span v-if="music.getPlaySongData.alia" class="name-alias">
Expand Down

0 comments on commit 0af0ac3

Please sign in to comment.