You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
477 B

2 months ago
const tijiaoList = {
state: {
shijianList:[]
},
mutations: {
SET_STATE: (state, List) => {
state.shijianList = List
},
DELETE_STATE: (state, List) => {
state.shijianList = []
},
},
actions: {
//存
setstate({ commit }, userInfo) {
commit('SET_STATE', userInfo)
},
//删除
Deletestate({ commit }, userInfo) {
commit('DELETE_STATE')
},
}
}
export default tijiaoList