javascript - How to dynamically increase or decrease voting options in vue.js?
某草草2017-05-19 10:33:35
0
1
752
In the past, in jquery, the DOM of a voting option was manually written into a string, and then when the "Add an item" button was clicked, the append method was used to append the DOM. May I ask how to implement this function in vue.js?
You can read more of Vue’s official documentation and understand the concept of data binding in depth. Let’s go straight to the example: