diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue index d1a8f5d..952a816 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue @@ -1698,7 +1698,7 @@ watch(() => props.bookobj.levelSecondId, async (newVal, oldVal) => { * 2. 其他: 获取当前章节下的所有知识点 */ let id = props.bookobj.levelSecondId; - if(props.bookobj.node.edusubject == '语文' || props.bookobj.node.edusubject == '英语'){ + if( props.bookobj.node.edustage == '高中' && (props.bookobj.node.edusubject == '语文' || props.bookobj.node.edusubject == '英语') ){ id = props.bookobj.node.rootid; const res = await listEvaluation({ edusubject: props.bookobj.node.edusubject, edustage: props.bookobj.node.edustage, itemkey: "subject", pageSize: 10 }); id = res.rows[0]?.id;