search.js
417 Bytes
export default {
namespaced: true,
state: {
Home: []
},
mutations: {
MSetHomeSearch (state, datas) {
state.Home = datas
},
MCleanHistory (state, stateKey) {
state[stateKey] = []
}
},
actions: {
ACleanHistory ({ commit }, stateKey) {
commit('MCleanHistory', stateKey)
}
},
modules: {
}
}