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 @@
- - +
+ + +
-
+
+
+
+
+ + +
+
+
\ No newline at end of file diff --git a/src/config/index.js b/src/config/index.js index ed4c1ad..8b5c3c5 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -13,7 +13,7 @@ let host = location.origin + '/' let bankPath = `${location.origin}/banksystem` // 银行系统 // 121.37.12.51 | 192.168.31.151 if (isDev) { - host = 'http://192.168.31.51:9000/' + host = 'http://192.168.31.217:9000/' host = 'http://121.37.12.51:9000/' // host = 'https://occupationlab.com/' bankPath = `http://${location.hostname}:8093` diff --git a/src/views/Home.vue b/src/views/Home.vue index edd28e3..335afb9 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -64,6 +64,7 @@ :codeId.sync="item.codeId" :answer.sync="item.answer" :retResult.sync="item.retResult" + :photoUrl.sync="item.photoUrl" :modelIsShow.sync="modelIsShow" @cache="leavePage">