Browse Source

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

黄琪勇 2 months ago
parent
commit
e9d45c87ab
1 changed files with 2 additions and 0 deletions
  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(() => {
     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.isPercussion && state.platform === IPlatform.PC) return { display: false, disabled: false };
       if(state.isCombineRender) return { display: false, disabled: false };
       if(state.isCombineRender) return { display: false, disabled: false };