mutations.js 276 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 import * as types from './mutations_types' module.exports = { [types.SET_MENU_OPEN](state) { state.width = '190px'; state.menu_flag = true; }, [types.SET_MENU_CLOSE](state) { state.width = '50px'; state.menu_flag = false; }, };