@@ -670,7 +670,7 @@ export const togglePlay = async (playState?: "play" | "paused", sourceType?: str
return
}
// 播放之前 当为评测模式和不为MIDI时候按 是否禁用节拍器 切换音源
- if (state.modeType === "practise" && state.playMode !== "MIDI") {
+ if ((playState ? playState : state.playState === "paused" ? "play" : "paused") ==='play' && state.modeType === "practise" && state.playMode !== "MIDI") {
console.log("设置音源")
changeSongSourceByBate(metronomeData.disable)