南网登录
This commit is contained in:
parent
14238ce4e2
commit
14407d7f7e
|
|
@ -92,7 +92,7 @@ const user = {
|
||||||
commit('SET_EXPIRES_IN', data.expires_in)
|
commit('SET_EXPIRES_IN', data.expires_in)
|
||||||
}else{
|
}else{
|
||||||
console.log('登录失败22222222')
|
console.log('登录失败22222222')
|
||||||
this.$modal.msgError('登录失败22222222');
|
this.$modal.msgError('登录失败');
|
||||||
}
|
}
|
||||||
resolve()
|
resolve()
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ export default {
|
||||||
// https://test-cc.zhgkxt.com/
|
// https://test-cc.zhgkxt.com/
|
||||||
let param = {
|
let param = {
|
||||||
code:this.code,
|
code:this.code,
|
||||||
redirectUrl:'https://test-cc.zhgkxt.com/',
|
redirectUrl:'https://test-cc.zhgkxt.com',
|
||||||
type:'authorization_code'
|
type:'authorization_code'
|
||||||
}
|
}
|
||||||
this.$store.dispatch("ssoLogin", param).then(() => {
|
this.$store.dispatch("ssoLogin", param).then(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue