flat: 123

This commit is contained in:
Apcallover
2024-04-14 21:06:15 +08:00
parent 77b3b5cc6b
commit dca8f38a31
2 changed files with 13 additions and 2 deletions

View File

@@ -95,7 +95,7 @@
公司地址{{info.companyAddress || '暂无'}}
</view> -->
<view class="prolist">
工作地址{{`${info.cityId === -1 ? '无' : area.dic[info.cityId]}`}}
工作地址{{cityNamed}}
</view>
<view class="prolist">
详细地址{{info.address}}
@@ -412,6 +412,14 @@
if (this.info.skillNames) {
return this.info.skillNames.split(',')
}
},
cityNamed() {
if (this.info && this.info.cityId !== -1 && this.area.dic) {
return this.area.dic[this.info.cityId].label
} else {
return '无'
}
console.log('val', this.info)
}
}
}