chenmy %!s(int64=4) %!d(string=hai) anos
pai
achega
fad9d8ec72
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      HiTeachCE/ClientApp/src/views/Board.vue

+ 5 - 5
HiTeachCE/ClientApp/src/views/Board.vue

@@ -1535,10 +1535,10 @@
                         this.students = this.$store.state.students
                         let oneStudent = {
                             sort: this.$store.state.students.length + 1,
-                            id: res.Payload.Answer.id,
-                            accountid:res.Payload.StudentId.accountid,
-                            studentName: res.Payload.Answer.name,
-                            sendTime: res.Timestamp,
+                            id: res.Payload.StudentId.id,
+                            accountid:res.Payload.StudentId.id,
+                            studentName: res.Payload.StudentId.name,
+                            //sendTime: res.Timestamp,
                             headImg: res.Payload.avatarUrl,
                             option: '',
                             done: true,
@@ -1551,7 +1551,7 @@
                             statement: '',//发言,
                             status: 'online'
                         }
-                        this.responderId = res.Payload.Answer.id
+                        this.responderId = res.Payload.StudentId.id
                         console.log(oneStudent, '学生情况')
                         if (oneStudent.headImg === undefined) {
                             oneStudent.headImg = 'https://img.zcool.cn/community/01786557e4a6fa0000018c1bf080ca.png@1280w_1l_2o_100sh.png'