@@ -24,6 +24,10 @@
lvl : "${userData.lvl}"
}
</c:if>
+
+ <c:if test="${empty userData}">
+ window.userData = ""
+ </c:if>
window.globalConfig = {
context: "${basePath}",
@@ -13,7 +13,7 @@
<title>首页</title>
</head>
<body>
- <div id="root">建设中</div>
+ <div id="root">建设中..</div>
<script type="text/javascript" src="${staticHost}/test.js"></script>
</body>
</html>
@@ -10,7 +10,7 @@
and Filters -->
<context-param>
<param-name>spring.profiles.active</param-name>
- <param-value>local</param-value>
+ <param-value>dev</param-value>
</context-param>
<!-- Creates the Spring Container shared by all Servlets and Filters -->