diff --git a/pageMy/my/resume/index.vue b/pageMy/my/resume/index.vue index 4dc1c7a..7919840 100644 --- a/pageMy/my/resume/index.vue +++ b/pageMy/my/resume/index.vue @@ -37,11 +37,11 @@ + v-bind:class="['jobAddress', { 'input-error':!myResume.city.id && !myResume.city.workplace && isShowBorder }]"> 您想工作的地点 - {{ myResume.city == {} ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择' + {{ myResume.city !== "{}" ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择' }} @@ -53,7 +53,7 @@ 您的学历 - {{ myResume.education == {} ? myResume.education.label : '请选择' }} + {{ myResume.education !== "{}" ? myResume.education.label : '请选择' }} @@ -306,7 +306,7 @@ export default { // 电话号码格式正确 console.log(phone, "电话号码格式正确"); setResume({ - id: this.id, education: education.label, workplace: city.parentLabel + '-' + city.label, telephone: phone, wage + id: this.id, education: education.label, workplace:city.workplace?city.workplace: city.parentLabel + '-' + city.label, telephone: phone, wage }).then(res => { this.isShowButton = false; this.getResume()