From 6d7b870195d1c2dd7c17ce9a0f695765630abb47 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 11 Aug 2021 11:29:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E9=9D=A2=E6=9D=BF=E5=88=86?= =?UTF-8?q?=E6=95=B0=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TestPanel.vue | 1 + src/components/codemirror.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index e6e6518..10b0824 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -554,6 +554,7 @@ export default { this.getQueryProject(this.value1) this.isSubmit = false this.countVal = 0 + this.grade = 0 newmain.$emit("isSubmit", this.isSubmit) }, counterFn(counterTime) { diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index 362a99a..b1b164d 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -475,6 +475,7 @@ export default { font-size: 18px; margin: 10px; position: absolute; + width: calc(100% - 14px); height: calc(100vh - 230px); overflow: auto; }