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

*ngFor="let item of userList index as i"
05-17 22:05