Browse Source

fix: midi播放问题修复

TIANYONG 1 year ago
parent
commit
cc5038d143
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/view/audio-list/index.tsx

+ 1 - 1
src/view/audio-list/index.tsx

@@ -29,7 +29,7 @@ export const audioListStart = (type: "play" | "paused") => {
 	}
 	console.log('api','midi状态1',type,audioData.midiRender)
 	// 如果是midi播放
-	if (audioData.midiRender) {
+	if (state.isAppPlay) {
 		// handleTogglePlayMidi(type);
 		cloudToggleState(type);
 		return;