diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 7f123bb..f392d38 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -435,18 +435,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 836f9aa..2bafabc 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -554,6 +554,7 @@ export default { background: #1b1b1b; display: inline-block; position: relative; + overflow-x: scroll; } .button ::v-deep .el-button--warning:hover, .el-button--warning:focus,