提示這個錯誤:
大概意思是,輸入元素應該有自動完成的屬性,比如: autocomplete=’new-passwordl’.
怎么搞定呢?
鏈接:Chrome瀏覽器控制台Input elements should have autocomplete attributes (suggested: "current-password")
[DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel', confirm at
另外,autocomplete功能:記住輸入內容,下次提交表單或者瀏覽器回退后,還能保持表單內容不變,規定輸入字段是否應該啟用自動完成功能