From 863d7ce580ad0b70590cd5a7dcc2898201d64d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Wed, 28 Apr 2021 17:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=BC=80=E5=A7=8B=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TestPanel.vue | 10 +++++----- src/components/codemirror.vue | 1 + src/views/Home.vue | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 30e096d..38dafe1 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -436,18 +436,18 @@ export default { }, // 清除时间 getClearTime() { - clearInterval(this.globalTimer); + // clearInterval(this.globalTimer); clearInterval(this.countVal); this.globalTimer = ""; - if(this.projectPermissions != 0){ + // if(this.projectPermissions != 0){ this.countVal = ""; this.day = "00"; this.seconds = "00"; this.minutes = "00"; this.hour = "00"; - }else{ - this.text = '所用' - } + // }else{ + // this.text = '所用' + // } }, handleData(project,type){ diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index 72cb375..5959870 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -479,6 +479,7 @@ export default { background: #1b1b1b; display: inline-block; position: relative; + overflow-x: scroll; } .button ::v-deep .el-button--warning:hover, .el-button--warning:focus, diff --git a/src/views/Home.vue b/src/views/Home.vue index 1801c1a..0f5e41a 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){