diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index be09b8e..7e23173 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -615,6 +615,10 @@ export default { border-color: $main-color } /deep/.answer-wrap{ + pre{ + width: 100%; + white-space:normal; + } img{ max-width: 100%; } diff --git a/src/views/Home.vue b/src/views/Home.vue index 57f5ffe..a2345d3 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -186,8 +186,8 @@ export default { this.studentId = this.getCookie("studentId"); this.$get(this.api.ProjectId, { projectId: this.projectId, - studentId: this.studentId - // studentId: 54 + // studentId: this.studentId + studentId: 54 }) .then(res => { if(workBench.length){