import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    activeStudents:[], // 活动排课学生
    activeCourse:{}, //活动排课
  },
  mutations: {
    commit_set_active_students:(state, students) => {
      state.activeStudents = students
    },
    commit_set_active_course: (state, course) => {
      state.activeCourse = course
    }
  },
  actions: {

  }
})
