@Input() 不会有任何别名。 Example @Input() student:any[]; <component [student]="..."> @Input('someValue')会将别名作为someValue Example @Input('studentInfo') student:any[]; <component [studentInfo]="..."> 当您使用别名时,请确保在HTML模板中使用该别名。