lrf402788946 4 年之前
父節點
當前提交
5374c6c18a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/class/newClass/daily.vue

+ 1 - 1
src/views/class/newClass/daily.vue

@@ -57,7 +57,7 @@ export default {
     },
     },
     add() {
     add() {
       const { startdate, enddate, id: classid } = this.classInfo;
       const { startdate, enddate, id: classid } = this.classInfo;
-      let obj = { classid, studentid: this.form.id };
+      let obj = { classid, studentid: this.form.id, score: 0 };
       // 在分数列表中找到该学生的所有日常分数
       // 在分数列表中找到该学生的所有日常分数
       let list = _.cloneDeep(this.dailyList);
       let list = _.cloneDeep(this.dailyList);
       if (list.length <= 0) {
       if (list.length <= 0) {