Home > front end >  Write a simple shopping cart button failure problems
Write a simple shopping cart button failure problems

Time:01-11

Vue practice today and write a simple shopping cart page, suddenly found the problem, the basic framework as shown in figure


And found that reduce the amount of goods button binding event failure, instead increase the number of buttons are normal, slightly modify the Vue beneath the methods: handleReduce (index) {} code upload
Complete code is as follows:




Bosses have encountered such a situation?
  • Related