1. 程式人生 > >vue使用v-for報錯

vue使用v-for報錯

Property or method "changMoney" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.

為什麼changMoney會報錯?

我的解決:

眼花把v-for繫結到正確的盒子的子元素上