这里常用的场景是日期控件使用时,下面这个就很难看了

 

在input中添加autocomplete="off"就可以了

<input type="text" id="yearCode" autocomplete="off" >