|
|
@@ -101,7 +101,11 @@
|
|
|
userAccount.spaceUU = item.uu
|
|
|
this.$http.get('/newLogin/other', {params: userAccount}).then(res => {
|
|
|
this.$store.dispatch('loadUserInfo').then(() => {
|
|
|
- let _url = localStorage.getItem('RETURNURL')
|
|
|
+ let _url = localStorage.getItem('RETURNURL')
|
|
|
+ let _uu = item.uu === 0 ? '' : item.uu
|
|
|
+ this.$jsonp(`${process.env.ssoUrl}/sso/login/other?spaceUU=${_uu}&appId=mall&userUU=${userAccount.userUU}`, {timeout: 5000, name: 'successCallback'}, (err) => {
|
|
|
+ console.log(err)
|
|
|
+ })
|
|
|
if (_url !== '') {
|
|
|
localStorage.removeItem('RETURNURL')
|
|
|
this.$router.replace(_url)
|