1.禁止浏览器记忆密码框污染其他input, 可让输入的text变为密码框形式。
1.让input的type类型使password变为text
<el-input
type="text"
placeholder="请输入"
v-model="unlockPwd"
size="mini"
class="no-autofill-pwd"
></el-input>
2.加上class类
.no-autofill-pwd {
::v-deep .el-input__inner {
-webkit-text-security: disc !important;
}
}