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