fix: 修复下载权限错误 & 播放器界面显示异常

This commit is contained in:
imsyy
2023-12-05 11:00:29 +08:00
parent f0ed78eed5
commit 0af0ac3cce
2 changed files with 3 additions and 3 deletions

View File

@@ -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("账号会员等级不足,请提升权限");

View File

@@ -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">