the interface function is nested to get and change the information, but the second interface function does not get the I value of the loop and tries to pass parameters, but the then method does not know much about
fetchUserList (this.listQuery). Then (response = > {
this.list = response.data.list
for(var i=0;i < this.list.length;iPP){
this.list[i] = Object.assign({},this.list[i],this.list[i].sysUser)
// this.list[i].office = getOfficeInfoById(this.list[i].officeId)
getOfficeInfoById(this.list[i].officeId).then(response =>{
this.office = response.data.data.name
console.log(i)
})
}
console.log(this.list)
this.total = response.data.total
this.listLoading = false
})