-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.4.0
Environment
win10/chrome latest/vue 1.4.0
Reproduction link
Steps to reproduce
升级到1.4.0后, a-radio-group组件如果绑定了字段,那么其事件就会执行两次(使用v-model或者form表单绑定)
<a-radio-group @change="onChange" v-model="tttt" defaultValue="a">
<a-radio-button value="a">Hangzhou</a-radio-button>
<a-radio-button value="b" disabled>Shanghai</a-radio-button>
<a-radio-button value="c">Beijing</a-radio-button>
<a-radio-button value="d">Chengdu</a-radio-button>
</a-radio-group>
onChange(e) {
console.log(`checked = ${e.target.value}`);
},
What is expected?
点击后,change只执行一次
What is actually happening?
执行了两次