完善商品数据提交
This commit is contained in:
15
store/modules/goods.js
Normal file
15
store/modules/goods.js
Normal file
@ -0,0 +1,15 @@
|
||||
const state = {
|
||||
buyGoods: []
|
||||
}
|
||||
|
||||
const mutations = {
|
||||
// 设置下单购买时候需要结算的商品
|
||||
setBuyGoods(state, data) {
|
||||
state.buyGoods = data
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
state,
|
||||
mutations
|
||||
};
|
||||
Reference in New Issue
Block a user