作业提交发现切换作业时studyitemid取值上一个,修复

This commit is contained in:
zhangsir
2024-08-05 15:17:03 +08:00
parent c1a0fe988f
commit 30c4899ebc

View File

@@ -136,6 +136,7 @@ export default {
}
apiCourseStudy.myHomeworkList(params).then(rs=>{
if(rs.status==200){
this.studyItemId = ''
this.records=rs.result;
if(rs.result.length>0){
this.studyItemIdOnce = rs.result[rs.result.length - 1].id;