state.cart[productInCartIndex].quantity++;. Vue2 reactivity is based on object getters and setters. When you assign value directly like this ...
確定! 回上一頁