|
@@ -414,8 +414,9 @@ export default {
|
|
|
let path = `exam/${this.examId}/${this.subjectId}/${this.studentAnswer.id}`
|
|
|
blobTool.upload(markPng, path).then(
|
|
|
res => {
|
|
|
- console.log('保存成功', res)
|
|
|
- this.$set(this.studentAnswer.answers, this.curAnIndex, [img.outerHTML])
|
|
|
+ this.studentAnswer.mark[this.curAnIndex].push({
|
|
|
+ mark: path + '/' + fileName
|
|
|
+ })
|
|
|
this.markStatus = false
|
|
|
//保存批注数据
|
|
|
this.$api.learnActivity.upsertAnswer({
|
|
@@ -473,6 +474,7 @@ export default {
|
|
|
this.markStatus = true
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
},
|
|
|
|
|
|
// 获取题号
|