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

    xiaoxiao2022-07-02  108

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

     

    最新回复(0)