소스 검색

Merge branch 'hqyDev' of http://git.dayaedu.com/liushengqiang/music-score into ktyq-online-new

黄琪勇 2 달 전
부모
커밋
e9d45c87ab
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/page-instrument/header-top/index.tsx

+ 2 - 0
src/page-instrument/header-top/index.tsx

@@ -432,6 +432,8 @@ export default defineComponent({
     });
     /** 模式切换按钮 */
     const toggleBtn = computed(() => {
+      // 上课页面不显示
+      if(state.isAttendClass) return { display: false, disabled: false };
       // 老师端,打击乐&节奏练习不显示
       if (state.isPercussion && state.platform === IPlatform.PC) return { display: false, disabled: false };
       if(state.isCombineRender) return { display: false, disabled: false };