<form action=""> <input placeholder="请输入静态口令" type="password"> </form>
在input[type="passsword"]外层添加<form>标签包裹。