caiyunyi/store/mutations.js
2025-01-17 18:19:54 +08:00

75 lines
1.4 KiB
JavaScript

const mutations = {
setInvitedCode(state, v) {
state.InviteCode = v
},
setOwnerUnitId(state, v) {
state.ownerUnitId = v
},
setUser(state, v) {
state.user = v
},
shopcartOrder(state, v) {
state.shopcartOrder = v
},
myShopCar(state, v) {
state.myShopCar = v
},
unionMyShopCar(state, v) {
state.unionMyShopCar = v
},
nowStore(state, v) {
state.nowStore = v
},
orderNumber(state, v) {
state.orderNumber = v
},
orderInternal(state, v) {
state.orderInternal = v
},
appointmentOrder(state, v) {
state.appointmentOrder = v
},
couponPrice(state, v) {
state.couponPrice = v
},
orderTable(state, v) {
state.orderTable = v
},
canIuse(state, v) {
state.canIuse = v
},
setIsLoading(state, v) {
state.isLoading = v
},
refresh(state, v) {
state.refresh = v
},
payForVip(state, v) {
state.payForVip = v
},
orderRemark(state, v) {
state.orderRemark = v
},
setprovinceCode(state, v) {
state.provinceCode = v
},
setHomeServer(state, v) {
state.serverPart = v
state.discoveryServerPart = v
state.appointServerPart = v
},
discoveryServerPart(state, v) {
state.discoveryServerPart = v
},
setAppointServerPart(state, v) {
state.appointServerPart = v
},
orderAddress(state, v) {
state.orderAddress = v
},
severList(state, v) {
state.severList = v
}
}
export default mutations