business.ts 375 B

123456789101112131415161718192021
  1. const business: any = {
  2. state: {
  3. certificationInfo:{},
  4. },
  5. mutations: {
  6. SET_CERTIFICATIONINFO: (state, data) => {
  7. console.log('存储志愿者注册数据');
  8. state.certificationInfo = data
  9. },
  10. },
  11. actions: {
  12. handlerCertificationInfo({ commit, state }, data) {
  13. commit('SET_CERTIFICATIONINFO', data)
  14. },
  15. }
  16. }
  17. export default business