[Vuejs]-Vue.js obtain toggle button value

0👍

you can use a computed method to get the updated value. So if user is the value you are looking for, it will be something like this

    `computed: {
       user() { return this.$store.commit('/getUser')} //your store mutation/getter}`

Leave a comment