重新开始重置时间

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() {
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){

@ -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,

Loading…
Cancel
Save