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