From 3dd7fdcf8d1ad8d72b868bc4cc8f6a3635a6b6e5 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Tue, 7 Dec 2021 16:37:27 +0800 Subject: [PATCH] task_bug --- src/components/case/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 = []