1.动态校验prop
<el-form-item
label ="卡号"
prop ="cardNo"
:rules="[
{ required: identifyStatus, message: '请输入卡号', trigger: 'blur' },
]">
<el-input type="number" v-model="ruleForm.cardNo"></el-input>
</el-form-item>
1.动态校验prop
<el-form-item
label ="卡号"
prop ="cardNo"
:rules="[
{ required: identifyStatus, message: '请输入卡号', trigger: 'blur' },
]">
<el-input type="number" v-model="ruleForm.cardNo"></el-input>
</el-form-item>
本文标题:element我所遇到的问题记录
本文链接:https://www.haomeiwen.com/subject/ioqmactx.html
网友评论