From f552752467a0f4ebbc02ebd68b6b312f6ec2c822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Mon, 26 Apr 2021 16:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/codemirror.vue | 4 ++++ src/views/Home.vue | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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){