mutations.js 238 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 import * as types from './mutations_types' module.exports = { [types.SET_CUR_ROUTE](state, paths) { // console.log(paths); state.headerCurRouter = paths.rootPath; state.leftCurRouter = paths.fullPath; } };