思路:设置type为text,再美化输入框输入的密码
<el-input
class="pwd"
type="text"
placeholder="请输入"
v-model="form.pwd"
>
</el-input>
.pwd{
text-security:disc;
-webkit-text-security:disc;
}
思路:设置type为text,再美化输入框输入的密码
<el-input
class="pwd"
type="text"
placeholder="请输入"
v-model="form.pwd"
>
</el-input>
.pwd{
text-security:disc;
-webkit-text-security:disc;
}