0👍
✅
Use v-model for this.
See: https://v2.vuejs.org/v2/guide/forms.html#Radio
<div class="btn-group clearfix" data-toggle="buttons" v-radio="auth">
<label class="btn btn-sm btn-default active">
<input type="radio" name="auth" value="1" v-model="auth">
Apple
</label>
<label class="btn btn-sm btn-default">
<input type="radio" name="auth" value="2" v-model="auth">
Banana
</label>
<label class="btn btn-sm btn-default" v-if="isRich">
<input type="radio" name="auth" value="3" v-model="auth">
Pear
</label>
</div>
Source:stackexchange.com