Antiloveg 9 years ago
parent
commit
b6d8316064

+ 4 - 0
src/main/webapp/WEB-INF/views/header.jsp

@@ -24,6 +24,10 @@
 	  		   lvl : "${userData.lvl}"
   		   }
   	   </c:if>
+  	   
+  	   <c:if test="${empty userData}">
+  	    window.userData = ""
+  	   </c:if>
   	 
   		window.globalConfig = {
 	  		context: "${basePath}",

+ 1 - 1
src/main/webapp/WEB-INF/views/index.jsp

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

+ 1 - 1
src/main/webapp/WEB-INF/web.xml

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