sso server支持vue页面

This commit is contained in:
Github_lizhw 2025-01-13 13:26:31 +08:00
parent ec38053999
commit 74651a414f

View File

@ -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);