|
@@ -520,7 +520,7 @@ export default defineComponent({
|
|
|
musicSheetId: props.data.id
|
|
|
})
|
|
|
// 判断是否显示
|
|
|
- if (!audioPlayTypes.includes('PLAY')) {
|
|
|
+ if (!audioPlayTypes.has('PLAY')) {
|
|
|
audioPlayTypes.add('PLAY')
|
|
|
}
|
|
|
}
|
|
@@ -540,7 +540,7 @@ export default defineComponent({
|
|
|
})
|
|
|
existYzFile = true
|
|
|
|
|
|
- if (!audioPlayTypes.includes('PLAY')) {
|
|
|
+ if (!audioPlayTypes.has('PLAY')) {
|
|
|
audioPlayTypes.add('PLAY')
|
|
|
}
|
|
|
}
|