We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js: export default { data(){ return { loan_term:"", //借款期限 } }, vuerify:{ loan_term:['required'] }, } html: <select class="form-control" v-model="loan_term"> <option value="">请选择借款期限</option> <option value="1">1个月</option> <option value="2">2个月</option> <option value="3">3个月</option> <option value="4">4个月</option> <option value="5">5个月</option> </select>
export default { data(){ return { loan_term:"", //借款期限 } }, vuerify:{ loan_term:['required'] }, }
<select class="form-control" v-model="loan_term"> <option value="">请选择借款期限</option> <option value="1">1个月</option> <option value="2">2个月</option> <option value="3">3个月</option> <option value="4">4个月</option> <option value="5">5个月</option> </select>
The text was updated successfully, but these errors were encountered:
vuerify 校验的只是数据,和组件无关
vuerify
Sorry, something went wrong.
No branches or pull requests
js:
export default { data(){ return { loan_term:"", //借款期限 } }, vuerify:{ loan_term:['required'] }, }
html:
<select class="form-control" v-model="loan_term"> <option value="">请选择借款期限</option> <option value="1">1个月</option> <option value="2">2个月</option> <option value="3">3个月</option> <option value="4">4个月</option> <option value="5">5个月</option> </select>
The text was updated successfully, but these errors were encountered: