Skip to content
  • This project
    • Loading...
  • Sign in

liding / liantiaoFront

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • liantiaoFront
  • src
  • store
  • leftmenu
  • mutations.js
  • liding's avatar
    初始化 · b51fd0fe
    liding committed 2017-04-24 10:00:32 +0800
    b51fd0fe
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;
    },
};