React tracks the changes in a state object using a shallow comparison ... 15 cart.push(input); 16 // this.state.cart.push(this.state.input); ...
確定! 回上一頁