From 33e8b77665095270875ccad9b525fff383133182 Mon Sep 17 00:00:00 2001 From: dengxin <2390584170@qq.com> Date: Mon, 19 Feb 2024 11:35:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=AE=80=E5=8E=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageMy/my/resume/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()