1. to remove the links, delete the binding function, because it is a link, to prevent the default behavior.
2. add removegoods (item.id, index) function
Analysis: We item.id delete the goods removed from the store in
By index the goods removed from the current assembly shopcargoodslist deleted.
3. To delete the data inside the state, we can not operate, to define the mutations, remove the state function data specified in the id.
4. removegoods (item.id, index) function