
const route = {
  state: {
    menuIndex: '/'
  },

  mutations: {
    SET_MENU_INDEX: (state, path) => {
      // getIndex(item.path)
      console.log('aaaaaaaaaa', path)
      state.menuIndex = path === '/home' ? '/' : path
    }
  },

  actions: {
  }
}

export default route
