重新开始重置时间

master
4 years ago
parent 3b814423b7
commit 863d7ce580
  1. 10
      src/components/TestPanel.vue
  2. 1
      src/components/codemirror.vue
  3. 4
      src/views/Home.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,

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

Loading…
Cancel
Save