From ee3bed2210a5307773df68383e5813cd789501b9 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 25 Apr 2023 17:23:09 +0800 Subject: [PATCH] fix --- src/api/index.js | 1 + src/components/codemirror.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/api/index.js b/src/api/index.js index 4306c2f..3349918 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -17,6 +17,7 @@ export default { lookupTableFile: `occupationlab/python/table/data/lookupTableFile`, downloadData:`${config.host}data/data/download`, fileuploadOss: `${config.host}oss/manage/fileupload`, + fileupload: `${config.host}occupationlab/oss/manage/fileupload`, getDetailById: 'occupationlab/occupationlab/assessment/getDetailById', pageStuAssessment: 'occupationlab/occupationlab/assessment/pageStuAssessment', modelClassList: `nakadai/nakadai/model/reference/modelClassList`, diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index 4abbb6f..2730667 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -389,6 +389,7 @@ export default { }).then(res => { const data = res.code const result = data.runResult + debugger if(result.includes('File ')){ if (isWhile) { this.runResult += result