|  | @@ -559,8 +559,13 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        if (res?.data?.api === "setPlayState") {
 | 
	
		
			
				|  |  |          togglePlay("paused", true);
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      if (res?.data?.api === "startPlayState") {
 | 
	
		
			
				|  |  | -        togglePlay("play");
 | 
	
		
			
				|  |  | +      if(res?.data?.api === 'togglePlayState') {
 | 
	
		
			
				|  |  | +        if(state.playState === "play") {
 | 
	
		
			
				|  |  | +          togglePlay("paused");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        if(state.playState === 'paused') {
 | 
	
		
			
				|  |  | +          togglePlay("play");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        // 上课页面,按钮方向
 | 
	
		
			
				|  |  |        if (res?.data?.api === "imagePos") {
 |