From bf333f1555c2a3d8bfafe595b2ec4ca4234e8c04 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 8 Dec 2021 11:36:54 +0800 Subject: [PATCH] youhua2 --- src/components/case/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/case/index.vue b/src/components/case/index.vue index cc65b80..da97d09 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -250,11 +250,16 @@ export default { getProjectBySystemId(params).then((data)=>{ if(data.status == 200){ //获取当前时间 - this.getBeginTime() if(data.data.projects.length !== this.topicList.length) { this.topicList = data.data.projects + this.selectProjects({ + projectId: this.topicList[0].projectId + }) - this.gotuQueryVariable() + if(this.topicList.length > 0){ + this.gotuQueryVariable() + } + this.getQueryCaches() } } }).catch((error)=>{