diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 7469343..322c205 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -210,25 +210,25 @@ export default { }, 10000) }else { if(process.env.NODE_ENV === "development") { - this.intervalJudge = setInterval(() => { - const data = { - id: parseInt(sessionStorage.getItem('assessmentId')), - token: parseInt(sessionStorage.getItem('token')) - } - checkTest(data).then(data => { - const { data: { data: { status } } } = data - if(status !== 1) { - this.popContainer = true - clearInterval(this.intervalJudge) - this.$message({ - showClose: true, - message: '考核已结束', - type: 'success' - }); - }else { - } - }) - }, 4000) + // this.intervalJudge = setInterval(() => { + // const data = { + // id: parseInt(sessionStorage.getItem('assessmentId')), + // token: parseInt(sessionStorage.getItem('token')) + // } + // checkTest(data).then(data => { + // const { data: { data: { status } } } = data + // if(status !== 1) { + // this.popContainer = true + // clearInterval(this.intervalJudge) + // this.$message({ + // showClose: true, + // message: '考核已结束', + // type: 'success' + // }); + // }else { + // } + // }) + // }, 4000) }else { this.intervalJudge = setInterval(() => { const data = {