1、设置前的代码
<el-form-item label="管理员密码" prop="password" >
<el-input type="password" v-model="ruleForm.password" autocomplete="off"></el-input>
</el-form-item>
2、修改后的代码
<el-form-item prop="name">
<span slot="label">
<span style="color: white"><strong>管理员账号</strong> </span>
</span>
<el-input v-model="ruleForm.name"></el-input>
</el-form-item>
3、效果对比