|
@@ -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'
|