将语言名称传递给vue,登录时检测

This commit is contained in:
thinkgem
2023-07-17 10:54:47 +08:00
parent 48a93201e6
commit a2d873fee5

View File

@@ -448,6 +448,7 @@ public class FormFilter extends org.apache.shiro.web.filter.authc.FormAuthentica
data.put("sysCode", session.getAttribute("sysCode"));
data.put("roleCode", session.getAttribute("roleCode"));
data.put("title", Global.getProperty("productName"));
data.put("lang", Global.getLang());
List<Map<String, Object>> roleList = ListUtils.newArrayList();
String desktopUrl = null;
for (Role role : user.getRoleList()){