[Vuejs]-VueJS combine v-on click functionality

0👍

Try this;

<button class="btn" type="button" @click="doingsomething();activeBtn='btn1'" :class="{active: activeBtn === 'btn1' }">Btn1</button> 

Leave a comment