Skip to content
New issue

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

a-input-number校验 #280

Open
cplcurry3035 opened this issue Jul 13, 2021 · 1 comment
Open

a-input-number校验 #280

cplcurry3035 opened this issue Jul 13, 2021 · 1 comment

Comments

@cplcurry3035
Copy link

<a-input-number v-model="modalForm.amount" @change="$forceUpdate()" :precision="2"/>
modalFormRules: {
files: [validate.require('请上传凭证')],
amount: [{
// required 也必须配置 type: number =。=
type: 'number',
required: true
}],
}
为什么校验一直有问题 是我写的方式有问题吗

@RunningV
Copy link

参考这个issue: #265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants