|  | @@ -38,11 +38,12 @@ import svipIcon from './images/svip_icon.png';
 | 
	
		
			
				|  |  |  import tyBg from './images/ty.png';
 | 
	
		
			
				|  |  |  import TextEllipsis from './text-ellipsis/index';
 | 
	
		
			
				|  |  |  import Loading from './loading';
 | 
	
		
			
				|  |  | +import { state as originState } from '@/state'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default defineComponent({
 | 
	
		
			
				|  |  |    name: 'creation-detail',
 | 
	
		
			
				|  |  |    setup() {
 | 
	
		
			
				|  |  | -    const {isApp, isTablet} = browser()
 | 
	
		
			
				|  |  | +    const {isApp, isTablet, isTeacher} = browser()
 | 
	
		
			
				|  |  |      const route = useRoute()
 | 
	
		
			
				|  |  |      const router = useRouter()
 | 
	
		
			
				|  |  |      const isScreenScroll = ref(false)
 | 
	
	
		
			
				|  | @@ -424,7 +425,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 = originState.platformType === 'TEACHER' || 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) => {
 |