重新开始重置时间

master
4 years ago
parent 1576b4e24c
commit 16e9f33c39
  1. 10
      src/components/TestPanel.vue
  2. 1
      src/components/codemirror.vue

@ -436,18 +436,18 @@ export default {
}, },
// //
getClearTime() { getClearTime() {
clearInterval(this.globalTimer); // clearInterval(this.globalTimer);
clearInterval(this.countVal); clearInterval(this.countVal);
this.globalTimer = ""; this.globalTimer = "";
if(this.projectPermissions != 0){ // if(this.projectPermissions != 0){
this.countVal = ""; this.countVal = "";
this.day = "00"; this.day = "00";
this.seconds = "00"; this.seconds = "00";
this.minutes = "00"; this.minutes = "00";
this.hour = "00"; this.hour = "00";
}else{ // }else{
this.text = '所用' // this.text = ''
} // }
}, },
handleData(project,type){ handleData(project,type){

@ -479,6 +479,7 @@ export default {
background: #1b1b1b; background: #1b1b1b;
display: inline-block; display: inline-block;
position: relative; position: relative;
overflow-x: scroll;
} }
.button ::v-deep .el-button--warning:hover, .button ::v-deep .el-button--warning:hover,
.el-button--warning:focus, .el-button--warning:focus,

Loading…
Cancel
Save