[Vuejs]-How to solve vue short if in v-model?

0👍

Maybe you should not use v-model, but build it on your own with value binding and event listening.

v-model is only a shorthand: https://v2.vuejs.org/v2/guide/forms.html.

By implementing it on your own you can use a method to set the values and a computed property to get it.

Leave a comment