Browse Source

Merge branch 'iteration-class'

lex 1 year ago
parent
commit
a8c9d484ad

+ 2 - 2
src/views/prepare-lessons/model/select-resources/select-item/index.tsx

@@ -51,7 +51,7 @@ export default defineComponent({
         type: type.value === 'shareResources' ? 'MUSIC' : '', //
         name: '',
         bookVersionId: null,
-        subjectId: null,
+        subjectId: prepareStore.getSubjectId,
         sourceType: formatType(type.value),
         enableFlag: true
       },
@@ -187,7 +187,7 @@ export default defineComponent({
       <div>
         <ResourceSearchGroup
           type={props.type}
-          subjectId={prepareStore.getSubjectId}
+          subjectId={prepareStore.getSubjectId as any}
           onSearch={(item: any) => throttledFnSearch(item)}
         />
         <NScrollbar