1 2 3 4 5 6 7 8 9 10 11 12 13
import * as types from './mutation_types'; export default { [types.CLOSE_DRAWER](state) { state.open = false; }, [types.OPEN_DRAWER](state) { state.open = true; }, [types.SET_FEATURES](state, data) { state.features = data; }, };