فهرست منبع

Merge branch 'temp-register'

lex 1 سال پیش
والد
کامیت
a29e9c76bd
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(