0👍
✅
Try to use an inline handler with ternary operator :
<button v-on:click="click==='video'?step1():step2()">
Source:stackexchange.com
0👍
Try to use an inline handler with ternary operator :
<button v-on:click="click==='video'?step1():step2()">