重新开始重置时间

master
4 years ago
parent 743efa9464
commit 277b6064e1
  1. 10
      src/components/TestPanel.vue
  2. 1
      src/components/codemirror.vue

@ -437,18 +437,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