省市区反显

This commit is contained in:
mengxiaolong
2021-01-18 11:20:49 +08:00
parent d0dc03f268
commit 726a10708f

View File

@@ -1550,7 +1550,7 @@ export default {
// this.areaShow = false
// break
case '2': //联系地址
this.homeName = `${area[0].name}-${area[1].name}-${area[2].name}`
this.homeName = getAreaName(area)
;[this.userInfo.homeProvince, this.userInfo.homeCity, this.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code]
this.homeShow = false
break