获取到的数据如图:

上代码!
nice() {
this.systemService.Alldepart().subscribe(data => {
const depart = [];
data.forEach(s => {
console.log(s)
})
});
}
得出的s如下:

Angular部门数据加载
获取到的数据如图:

上代码!
nice() {
this.systemService.Alldepart().subscribe(data => {
const depart = [];
data.forEach(s => {
console.log(s)
})
});
}
得出的s如下:

1060
343
514
2万+

被折叠的 条评论
为什么被折叠?