|
@@ -78,8 +78,9 @@ const actions = {
|
|
|
|
|
|
//会员登录跳转 但不储存
|
|
|
if(userInfo.backurl){
|
|
|
- //什么都不做
|
|
|
- console.log("会员不进入系统!")
|
|
|
+ //只设置token 不储存url
|
|
|
+ setToken(data.token,data.exp)
|
|
|
+ commit('SET_TOKEN',data.token)
|
|
|
}
|
|
|
|
|
|
//会员登录进入系统,储存所属url
|
|
@@ -92,7 +93,6 @@ const actions = {
|
|
|
commit('SET_TOKEN',data.token)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
resolve(response)
|
|
|
}).catch(error => {
|
|
|
reject(error)
|