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