Browse Source

feat: 修改

TIANYONG 6 months ago
parent
commit
90237e4dd7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/page-instrument/header-top/index.tsx

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

@@ -462,8 +462,8 @@ export default defineComponent({
     });
     });
     /** 模式切换按钮 */
     /** 模式切换按钮 */
     const toggleBtn = computed(() => {
     const toggleBtn = computed(() => {
-      // 乐教通不限
-      if (query["isYjt"] == "1") return { display: false, disabled: false };
+      // 乐教通不限和后台预览
+      if (query["isYjt"] == "1" || state.systemType === 'web') 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 };