|
@@ -337,7 +337,8 @@ export default defineComponent({
|
|
|
<div
|
|
|
class={[
|
|
|
'btnGroup',
|
|
|
- albumDetail.value?.musicPaymentTypes.includes('VIP') &&
|
|
|
+ albumDetail.value?.musicPaymentTypes &&
|
|
|
+ albumDetail.value?.musicPaymentTypes.includes('VIP') &&
|
|
|
'btnMore'
|
|
|
]}
|
|
|
style={{ paddingTop: '12px' }}
|
|
@@ -351,19 +352,20 @@ export default defineComponent({
|
|
|
>
|
|
|
购买专辑
|
|
|
</Button>
|
|
|
- {albumDetail.value?.musicPaymentTypes.includes('VIP') && (
|
|
|
- <Button
|
|
|
- block
|
|
|
- round
|
|
|
- type="primary"
|
|
|
- style={{ fontSize: '16px' }}
|
|
|
- onClick={() => {
|
|
|
- router.push('/memberCenter')
|
|
|
- }}
|
|
|
- >
|
|
|
- 开通会员
|
|
|
- </Button>
|
|
|
- )}
|
|
|
+ {albumDetail.value?.musicPaymentTypes &&
|
|
|
+ albumDetail.value?.musicPaymentTypes.includes('VIP') && (
|
|
|
+ <Button
|
|
|
+ block
|
|
|
+ round
|
|
|
+ type="primary"
|
|
|
+ style={{ fontSize: '16px' }}
|
|
|
+ onClick={() => {
|
|
|
+ router.push('/memberCenter')
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 开通会员
|
|
|
+ </Button>
|
|
|
+ )}
|
|
|
</div>
|
|
|
</ColSticky>
|
|
|
)}
|