Skip to content

form表单 #3489

@cham-web

Description

@cham-web
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.2

Environment

vue2.x chrome V87.0.4280.88

Reproduction link

https://www.antdv.com/components/form-cn/#API

Steps to reproduce

image
v-decorator="['agentProportion', { rules: [{required: true, message: '请选择租赁场地比例'}]}]"
v-decorator="['agentProportion01', { rules: [ { required: true, message: '请输入商品分润代理比例', preserve: true } ] }]"
绑定两个值点击提交校验,没有提示agentProportion01的错误信息
image

What is expected?

agentProportion,agentProportion01这个两个值错误信息不一样

What is actually happening?

agentProportion:
errors: Array(2)
0: {message: "请选择租赁代理比例", field: "agentProportion"}
1: {message: "请输入商品分润代理比例", field: "agentProportion01"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions