|
@@ -12,10 +12,12 @@ router.beforeEach(async(to, from, next) => {
|
|
setToken(response.uid);
|
|
setToken(response.uid);
|
|
next()
|
|
next()
|
|
} else {
|
|
} else {
|
|
- window.location.href = "http://10.16.30.130/sso/caslogin.jsp";
|
|
|
|
|
|
+ next()
|
|
|
|
+ // window.location.href = "http://10.16.30.130/sso/caslogin.jsp";
|
|
}
|
|
}
|
|
} catch {
|
|
} catch {
|
|
- window.location.href = "http://10.16.30.130/sso/caslogin.jsp";
|
|
|
|
|
|
+ next()
|
|
|
|
+ // window.location.href = "http://10.16.30.130/sso/caslogin.jsp";
|
|
}
|
|
}
|
|
// determine whether the user has logged in
|
|
// determine whether the user has logged in
|
|
|
|
|