基础数据列表显示处理
This commit is contained in:
@@ -53,10 +53,10 @@ export class CityComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
)
|
||||
this.render_data.forEach(item => {//国家数据转换处理
|
||||
let countryLinkIndex = this.countrys.findIndex(val => val.countryId === item['countryId']);
|
||||
item['countryNameChn'] = this.countrys[countryLinkIndex].countryNameChn;
|
||||
})
|
||||
if(this.render_data){
|
||||
//国家列表数据转换
|
||||
this.basicDataTransHandle();
|
||||
}
|
||||
/**
|
||||
* 固定表头
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user