完善商品数据提交

This commit is contained in:
2025-05-10 18:09:35 +08:00
parent 9cd1e5eaca
commit 00ab75efbc
177 changed files with 3124 additions and 2928 deletions

View File

@ -6,4 +6,5 @@ export default {
inviteCode: state => state.app.userInfo.distribution_code || "",
appConfig: state => state.app.config,
cityInfo: state => state.city.cityInfo,
buyGoods: state => state.goods.buyGoods,
};

15
store/modules/goods.js Normal file
View File

@ -0,0 +1,15 @@
const state = {
buyGoods: []
}
const mutations = {
// 设置下单购买时候需要结算的商品
setBuyGoods(state, data) {
state.buyGoods = data
}
}
export default {
state,
mutations
};

View File

@ -1,7 +1,9 @@
import app from "./app";
import city from "./city";
import goods from "./goods";
export default {
app,
city
city,
goods
};