|
@@ -38,6 +38,7 @@ 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',
|
|
@@ -424,7 +425,7 @@ export default defineComponent({
|
|
|
}
|
|
|
// 初始化五线谱
|
|
|
function initStaff(){
|
|
|
- const systemType = isTeacher ? 'teacher' : 'student'
|
|
|
+ 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
|