flat: 合并, 报错修复
This commit is contained in:
@@ -414,8 +414,7 @@
|
||||
}
|
||||
},
|
||||
cityNamed() {
|
||||
console.log('val', this.info, this.area.dic)
|
||||
if (this.info && this.info.cityId !== -1 && this.area.dic) {
|
||||
if (this.info && typeof this.info.cityId !== 'undefined' && this.info.cityId !== -1 && this.area.dic) {
|
||||
return this.area.dic[this.info.cityId].label
|
||||
} else {
|
||||
return '无'
|
||||
|
||||
Reference in New Issue
Block a user