|
@@ -242,10 +242,14 @@ export default {
|
|
|
|
|
|
onOperation({ type, data }) {
|
|
|
const newData = { ...data, examStudentName: data.name };
|
|
|
- if (type === "video") {
|
|
|
+ if (["video", "answer"].includes(type)) {
|
|
|
this.operationStudent["talk"] = newData;
|
|
|
+ } else {
|
|
|
+ this.operationStudent[type] = newData;
|
|
|
+ }
|
|
|
+ if (type === "answer") {
|
|
|
+ this.onBackCall(newData);
|
|
|
}
|
|
|
- this.operationStudent[type] = newData;
|
|
|
const operationMap = {
|
|
|
message: this.toSendTextMsg,
|
|
|
voice: this.toSendAudioMsg,
|