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