|
@@ -91,7 +91,11 @@ export const useMp3s = async (detail: MusicSheelDetail) => {
|
|
|
}
|
|
|
detailState.isAppPlay = detail.audioType === 'MIDI'
|
|
|
// 如果后台有速度
|
|
|
- if (detail.playSpeed && detail.playSpeed !== "") {
|
|
|
+ const isSpecialSong= !classids.includes(detail.musicSheetCategoriesId)
|
|
|
+ if (!isSpecialSong) {
|
|
|
+ detailState.playSpeed = detail.playSpeed ? parseFloat(String(detail.playSpeed)) : 100;
|
|
|
+ detailState.baseSpeed = detailState.playSpeed
|
|
|
+ } else if (detail.playSpeed && detail.playSpeed !== "") {
|
|
|
// detailState.playSpeed = detail.playSpeed ? parseFloat(String(detail.playSpeed)) : 100;
|
|
|
// detailState.baseSpeed = detailState.playSpeed
|
|
|
detailState.temporarySpeed = detail.playSpeed ? parseFloat(String(detail.playSpeed)) : 90;
|