解决浏览器记住用户名密码问题

<input nz-input  autocomplete="off" onfocus="this.type='password'" readonly onfocus="this.removeAttribute('readonly');" [(ngModel)]="userForm.user_id" placeholder="账户名"  formControlName="user_id" />

猜你喜欢

转载自blog.csdn.net/sou_vyp/article/details/90439718