Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

张杰 / car-service-system

  • This project
    • Loading...
  • Sign in
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
  • car-service-system
  • src
  • store
  • modules
  • order.js
  • 张杰's avatar
    包活干源码 · 8e8bbb8e
    张杰 committed Jan 11, 2022
    8e8bbb8e
order.js 290 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
const order = {
  state: {
    highNumber: 1,
  },
  mutations: {
    CHANGE_NUMBER: (state, highNumber) => {
      state.highNumber = highNumber 
    }
  },
  actions: {
    changeNumber({ commit }, highNumber) {
      commit('CHANGE_NUMBER', highNumber)
    }
  }
}

export default order