|
|
@@ -575,9 +575,9 @@ export default defineComponent({
|
|
|
return {
|
|
|
hasTenantAlbum: route.query?.tenantAlbumId ? true : false, // 是否从专辑来的
|
|
|
play: music.play ? true : false, // 是否可以播放
|
|
|
- free: music?.paymentType.includes('FREE'),
|
|
|
- charge: music?.paymentType.includes('CHARGE'),
|
|
|
- vip: music?.paymentType.includes('VIP'),
|
|
|
+ free: music?.paymentType?.includes('FREE'),
|
|
|
+ charge: music?.paymentType?.includes('CHARGE'),
|
|
|
+ vip: music?.paymentType?.includes('VIP'),
|
|
|
buy: music?.orderStatus === 'PAID' // 是否已买
|
|
|
}
|
|
|
})
|