condition.js
422 Bytes
const conditionList = {
state: {
mallId: '',
gateId: ''
},
mutations: {
updMallId(state, newMallId) {
state.mallId = newMallId;
},
updGateId(state, newGateId) {
state.gateId = newGateId;
},
},
actions: {
GetMallId({ commit, state }) {
getMallId().then(res => {
//
})
},
GetGateId({ commit, state }) {
getGateId().then(res => {
//
})
},
}
}
export default conditionList;