diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index ba6d02e..88865fe 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -665,7 +665,7 @@ export default { }) // 如果有缓存代码,再提示用户是否要继续上次的实验 Promise.all(promiseList).then(_ => { - hasCache && this.$confirm('是否要继续上次的实验?', '提示', { + hasCache && this.$confirm('是否要继续上次的操作记录?', '提示', { confirmButtonText: '是', cancelButtonText: '否', type: 'success' @@ -911,6 +911,7 @@ export default { bcId: e.judgmentId, isSubmit: e.codeId ? 1 : 0, answer: e.answer, + photoUrl: e.photoUrl || '', retResult: e.retResult, judgmentName: e.name }) @@ -962,7 +963,7 @@ export default { this.submiting = false // 如果是竞赛,并且勾选了公布成绩详情的选项,则弹框提示 if (this.competitionId) { - this.$alert(`提交成功!${this.resultsDetails == 0 && this.resultAnnouncementTime != 0 ? '成绩将在' + this.resultAnnouncementTime + '小时后发布,请去参赛信息模块查看' : ''}`, '提示', { + this.$alert(`提交成功!${this.resultAnnouncementTime != 0 ? '成绩将在' + this.resultAnnouncementTime + '小时后发布,请去参赛信息模块查看' : ''}`, '提示', { confirmButtonText: '确定', callback: action => { this.$parent.back() diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index 626df5a..f9c909b 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -33,10 +33,12 @@