mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
sso server支持vue页面
This commit is contained in:
parent
ec38053999
commit
74651a414f
@ -172,7 +172,7 @@ public class SsoServerController {
|
|||||||
} else {
|
} else {
|
||||||
//支持vue页面
|
//支持vue页面
|
||||||
String routerUrlSuffix = "";
|
String routerUrlSuffix = "";
|
||||||
int routerUrlIdx = redirect.indexOf("#/");
|
int routerUrlIdx = redirect.lastIndexOf("#/");
|
||||||
if (routerUrlIdx != -1) {
|
if (routerUrlIdx != -1) {
|
||||||
routerUrlSuffix = redirect.substring(routerUrlIdx);
|
routerUrlSuffix = redirect.substring(routerUrlIdx);
|
||||||
redirect = redirect.substring(0, routerUrlIdx);
|
redirect = redirect.substring(0, routerUrlIdx);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user