|
|
@@ -42,8 +42,7 @@ export const actions = {
|
|
|
commit('option/REQUEST_IS_LOGIN')
|
|
|
return axios.get('/sso/login/isLogin')
|
|
|
.then(response => {
|
|
|
- console.log(response.data)
|
|
|
- console.log(1)
|
|
|
+ // console.log(response.data)
|
|
|
commit('option/REQUEST_IS_LOGIN_SUCCESS', response.data)
|
|
|
}, err => {
|
|
|
commit('option/REQUEST_IS_LOGIN_FAILURE', err)
|
|
|
@@ -54,8 +53,7 @@ export const actions = {
|
|
|
commit('option/REQUEST_USER_INFO')
|
|
|
return axios.get('/sso/center/user/info')
|
|
|
.then(response => {
|
|
|
- console.log(2)
|
|
|
- console.log(response.data)
|
|
|
+ // console.log(response.data)
|
|
|
commit('option/REQUEST_USER_INFO_SUCCESS', response.data)
|
|
|
}, err => {
|
|
|
commit('option/REQUEST_USER_INFO_FAILURE', err)
|