login.js 503 B

123456789101112131415
  1. // import axios from '~plugins/axios'
  2. //
  3. // export const actions = {
  4. // // 登录选择企业
  5. // ChooseRegisterEnterprise ({commit}, params = {}) {
  6. // commit('chooseRegisterEnterprise/REQUEST_ENTERPRISE', params)
  7. // return axios.post(`/sso/login`, {params})
  8. // .then(response => {
  9. // commit('chooseRegisterEnterprise/GET_ENTERPRISE_SUCCESS', response.data)
  10. // }, err => {
  11. // commit('chooseRegisterEnterprise/GET_ENTERPRISE_FAILURE', err)
  12. // })
  13. // }
  14. // }