vue用elementui写form表单时,在label里添加空格
要在密码两字中间添加空格,发现直接添加 是识别不了的,正确写法为:代码:<el-form-item label="密 码:" :label-width="formLabelWidth" prop="password"><label slot="label">密 &...
·
要在密码两字中间添加空格,发现直接添加 是识别不了的,正确写法为:
代码:
<el-form-item label="密 码:" :label-width="formLabelWidth" prop="password">
<label slot="label">密 码:</label>
<el-input
type="password"
v-model="FormData.password"
placeholder="请输入密码"
autocomplete="off"
show-password
></el-input>
</el-form-item>
更多推荐
已为社区贡献19条内容
所有评论(0)