*ngFor="let item of userList,let i = index"
 
或者
*ngFor="let item of userList index as i"

相关文章: