diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 3b9c6f7..75d58cb 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -191,13 +191,14 @@ export default { sessionStorage.setItem('assessmentId', assessmentId) sessionStorage.setItem('token', token) if(process.env.NODE_ENV === "development") { - + }else { this.intervalJudge = setInterval(() => { const data = { id: parseInt(sessionStorage.getItem('assessmentId')), token: parseInt(sessionStorage.getItem('token')) } + this.getData() checkTest(data).then(data => { const { data: { data: { status } } } = data if(status !== 1) { @@ -211,7 +212,7 @@ export default { }else { } }) - }, 3000) + }, 4000) } }, watch: { @@ -323,7 +324,10 @@ export default { "permissions":0, } getProjectBySystemId(params).then((data)=>{ + console.log('---topicList') + console.log(data) if(data.status == 200){ + console.log(data.data.projects) //获取当前时间 this.getBeginTime() this.topicList = []