From acf8396e0723781a705b331e166824495a7d2f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Thu, 1 Feb 2024 15:34:27 +0800 Subject: [PATCH] 1 --- src/views/resumeInfo/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/resumeInfo/index.vue b/src/views/resumeInfo/index.vue index aee1c71e..b79caf6a 100644 --- a/src/views/resumeInfo/index.vue +++ b/src/views/resumeInfo/index.vue @@ -102,7 +102,9 @@ export default { this.setLanguage('zh') this.$updateDictionary() } - this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}` + if (this.doctorInfo) { + this.title = `${this.doctorInfo.BasicInfoView.FirstName} ${this.doctorInfo.BasicInfoView.LastName}${this.$t('resumeInfo:title:Details')}` + } } }, mounted() {