-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.4.12
Environment
任意支持浏览器,vue最新版
Reproduction link
https://github.com/vueComponent/ant-design-vue
Steps to reproduce
创建三组a-radio-group标签,
<a-radio-group v-decorator="['a']"/>
<a-radio :value="0">是<a-radio/>
<a-radio :value="1">否</a-radio/>
<a-radio-group/>
<p v-if="form.getFieldValue('a')==0"/>展示a<p/>
<a-radio-group v-decorator="['b']"/>
<a-radio :value="0">是<a-radio/>
<a-radio :value="1">否</a-radio/>
<a-radio-group/>
<p v-if="form.getFieldValue('b')==0"/>展示b<p/>
<a-radio-group v-decorator="['c']"/>
<a-radio :value="0">是<a-radio/>
<a-radio :value="1">否</a-radio/>
<a-radio-group/>
<p v-if="form.getFieldValue('c')==0"/>展示c<p/>
v-decorator绑定三个自定义属性a,b,c,界面上设置3个元素,通过v-if="form.getFieldValue('a')==0"控制是否展示,在页面初始化赋值,this.form.setFieldsValue({ a: 0, b: 0, c: 0 })
What is expected?
应该是三个radio的是选项被选中,同时展示三个文本信息
What is actually happening?
三个文本信息都正常展示,但是radio只会展示a,c,b不会正常回显