diff --git a/components/vertical-menu/vertical-menu.vue b/components/vertical-menu/vertical-menu.vue index 29c91a7..2d1929b 100644 --- a/components/vertical-menu/vertical-menu.vue +++ b/components/vertical-menu/vertical-menu.vue @@ -387,7 +387,7 @@ export default { } .page-view { - padding: 16rpx; + padding: 8rpx; } .class-item { @@ -398,7 +398,7 @@ export default { } .class-item:last-child { - // min-height: 100vh; + min-height: 100vh; } .item-title { diff --git a/pageMy/my/resume/index.vue b/pageMy/my/resume/index.vue index 95de7d1..7919840 100644 --- a/pageMy/my/resume/index.vue +++ b/pageMy/my/resume/index.vue @@ -19,7 +19,7 @@ 我的职业技能 - + @@ -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() diff --git a/vue.config.js b/vue.config.js index c4294a3..fdcb0d0 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,8 +3,8 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'http://192.168.0.104:8000', // 本地服务接口地址 - // target: "http://39.98.184.58:8000", // 阿里云后台地址 + // target: 'http://192.168.0.104:8000', // 本地服务接口地址 + target: "http://39.98.184.58:8000", // 阿里云后台地址 // target: "http://192.168.0.100:8000", // 本地网关 ws: true, pathRewrite: {