You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v-if and v-else Causing the button value to be cleared (When the v-if or v-else role of the button, one of which is dynamic value, the value of another button will be emptied)
Thanks @workwsl , Vue.js treats static attribute value as attribute, which causes this issue. I'll try to fix it. Currently you could use value binding as a workaround.
v-if and v-else Causing the button value to be cleared (When the v-if or v-else role of the button, one of which is dynamic value, the value of another button will be emptied)
Vue.js version
Vue:2.1.6
NOTE: This problem does not exist in Vue1.x
Reproduction Link
https://jsfiddle.net/ldneedu/c0xa3Len/5/
Steps to reproduce
Three sets of scenes
Click the Toggle button
The text was updated successfully, but these errors were encountered: