| 
					
				 | 
			
			
				@@ -63,7 +63,7 @@ import Loading from './loading'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: 'creation-detail', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   setup() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const {isApp, isTablet, weixin} = browser() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const {isApp, isTablet, weixin, isTeacher} = browser() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const route = useRoute() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const router = useRouter() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const isScreenScroll = ref(false) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -447,7 +447,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 初始化五线谱 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     function initStaff(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      const src = `/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const systemType = isTeacher ? 'teacher' : 'student' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const src = `/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}&systemType=${systemType}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // const src = `http://192.168.3.68:3000/instrument.html#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       staffState.staffSrc = src 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       window.addEventListener('message', (event) => { 
			 |