(在Beta 11上运行android + Ionic 2). 最佳答案. 我确实是这样的: <ion-input type="text" [(ngModel)]="username" (keyup.enter)="handleLogin()"></ion-input>
確定! 回上一頁