Skip to content
  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in

罗鑫霖 / vion-tools

Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • vion-tools
  • src
  • store
  • index.js
  • 李金轩's avatar
    框架更改 · 40914323
    李金轩 committed Jan 07, 2022
    40914323
index.js 307 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import {createStore} from 'vuex'

export default createStore(
    {
        state: {
            accessedRouteList: [],
        },
        mutations: {
            setAccessedRouteList(state, accessedRouteList) {
                state.accessedRouteList = accessedRouteList
            },
        },
    }
)