Преглед на файлове

修复声部显示问题

lex преди 1 година
родител
ревизия
aee4a42fb6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/prepare-lessons/components/lesson-main/courseware/index.tsx

+ 1 - 1
src/views/prepare-lessons/components/lesson-main/courseware/index.tsx

@@ -298,7 +298,7 @@ export default defineComponent({
         );
         const subjectId =
           forms.subjectId || localStorageSubjectId
-            ? Number(localStorageSubjectId)
+            ? Number(forms.subjectId || localStorageSubjectId)
             : null;
         // 判断浏览器上面是否有
         const index = subjectList.findIndex(