12345 |
- export const actionCartAdd = (good, count = 1) => ({type: 'CART_ADD', good, count});
- export const actionCartRemove = (good) =>({type: 'CART_REMOVE', good});
- export const actionCartChange = (good, count) =>({type: 'CART_CHANGE', good, count});
- export const actionCartClear = () => ({type: 'CART_CLEAR'})
- export const actionCartMin = (good, count = 1) =>({type: 'CART_MINUS', good, count});
|