一般情况下浏览器会保存历史输入的记录(如下图) 解决办法 将input的属性AUTOCOMPLETE的值设置为off。 <input type="text" name="name" autocomplete="off" >