Commit c8d200dae8943c147ad67efc7a20a1de5248768e
Committed by
GitHub

Merge pull request #4130 from oyv1cent/radio-pr
[fix bug]Radio component's bug
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/components/radio/radio-group.vue
@@ -87,7 +87,9 @@ | @@ -87,7 +87,9 @@ | ||
87 | value () { | 87 | value () { |
88 | if(this.currentValue !== this.value){ | 88 | if(this.currentValue !== this.value){ |
89 | this.currentValue = this.value; | 89 | this.currentValue = this.value; |
90 | - this.updateValue(); | 90 | + this.$nextTick(()=>{ |
91 | + this.updateValue(); | ||
92 | + }); | ||
91 | } | 93 | } |
92 | } | 94 | } |
93 | } | 95 | } |