修改金额不为0
This commit is contained in:
parent
53da3d7231
commit
93ae44c789
@ -56,9 +56,6 @@ const rules = {
|
|||||||
{ required: true, message: '请输入个人所得税' },
|
{ required: true, message: '请输入个人所得税' },
|
||||||
{
|
{
|
||||||
validator: (value, cb) => {
|
validator: (value, cb) => {
|
||||||
if (value==0) {
|
|
||||||
cb('金额需要大于0');
|
|
||||||
}
|
|
||||||
if (value>props.max) {
|
if (value>props.max) {
|
||||||
cb('修改金额不可超出提现金额');
|
cb('修改金额不可超出提现金额');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user