|
@@ -280,7 +280,8 @@ export default {
|
|
|
async onsist({ id }) {
|
|
|
const res = await this.uploadtasklist({ studentid: id });
|
|
|
if (res.errcode === 0) {
|
|
|
- this.$set(this, `homeworkLessonList`, res.data);
|
|
|
+ let homeworkLessonList = _.uniqBy(res.data, 'lessonid');
|
|
|
+ this.$set(this, `homeworkLessonList`, homeworkLessonList);
|
|
|
}
|
|
|
},
|
|
|
// 打开上成绩
|