From a45d03bcae3a2efdb95c6c37f84c7ecfa40f7d23 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Fri, 2 Jun 2023 17:47:44 +0800 Subject: [PATCH] =?UTF-8?q?'=E9=9A=8F=E8=AE=BF=E4=BF=AE=E6=94=B9'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/360View/followUpRecord/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/360View/followUpRecord/index.vue b/src/components/360View/followUpRecord/index.vue index aec2076..e7a0126 100644 --- a/src/components/360View/followUpRecord/index.vue +++ b/src/components/360View/followUpRecord/index.vue @@ -132,7 +132,7 @@ export default { } this.$http.get('/patient/view/getTimeAxisDataVisit', { params }).then(res => { this.timeAxisDataVisit = res.data.data - this.curFormType = this.timeAxisDataVisit[0].itemList[0].groupName + this.curFormType = this.timeAxisDataVisit.length && this.timeAxisDataVisit[0].itemList[0].groupName if (add) { const index = this.timeAxisDataVisit.findIndex(item => item.date === this.$moment(value.createTime).format('YYYY-MM-DD')) this.$refs.timeline.itemCurrentIndex = index || 0