Commit 721cf9cdeb664dec4818da94cd2b905ff2eb8bd5
1 parent
9564af89
fix bug
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/components/radio/radio-group.vue
@@ -84,7 +84,9 @@ | @@ -84,7 +84,9 @@ | ||
84 | value () { | 84 | value () { |
85 | if(this.currentValue !== this.value){ | 85 | if(this.currentValue !== this.value){ |
86 | this.currentValue = this.value; | 86 | this.currentValue = this.value; |
87 | - this.updateValue(); | 87 | + this.$nextTick(()=>{ |
88 | + this.updateValue(); | ||
89 | + }); | ||
88 | } | 90 | } |
89 | } | 91 | } |
90 | } | 92 | } |