更新简历bug
This commit is contained in:
@@ -37,11 +37,11 @@
|
|||||||
<view class="jobcontent" @click="goSetCity">
|
<view class="jobcontent" @click="goSetCity">
|
||||||
<view class="jobinfo">
|
<view class="jobinfo">
|
||||||
<view
|
<view
|
||||||
v-bind:class="['jobAddress', { 'input-error': (!myResume.city.id || !myResume.city.workplace) && isShowBorder }]">
|
v-bind:class="['jobAddress', { 'input-error':!myResume.city.id && !myResume.city.workplace && isShowBorder }]">
|
||||||
您想工作的地点
|
您想工作的地点
|
||||||
</view>
|
</view>
|
||||||
<view v-bind:class="['jobText']">
|
<view v-bind:class="['jobText']">
|
||||||
{{ myResume.city == {} ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择'
|
{{ myResume.city !== "{}" ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择'
|
||||||
}}
|
}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
您的学历
|
您的学历
|
||||||
</view>
|
</view>
|
||||||
<view v-bind:class="['jobText']">
|
<view v-bind:class="['jobText']">
|
||||||
{{ myResume.education == {} ? myResume.education.label : '请选择' }}
|
{{ myResume.education !== "{}" ? myResume.education.label : '请选择' }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<image src="../../../static/img/right.svg" mode=""></image>
|
<image src="../../../static/img/right.svg" mode=""></image>
|
||||||
@@ -306,7 +306,7 @@ export default {
|
|||||||
// 电话号码格式正确
|
// 电话号码格式正确
|
||||||
console.log(phone, "电话号码格式正确");
|
console.log(phone, "电话号码格式正确");
|
||||||
setResume({
|
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 => {
|
}).then(res => {
|
||||||
this.isShowButton = false;
|
this.isShowButton = false;
|
||||||
this.getResume()
|
this.getResume()
|
||||||
|
|||||||
Reference in New Issue
Block a user