mirror of
https://github.com/imsyy/SPlayer.git
synced 2025-11-25 19:37:35 +08:00
fix: 修复下载权限错误 & 播放器界面显示异常
This commit is contained in:
@@ -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("账号会员等级不足,请提升权限");
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user