Browse Source

平台404链接返回到首页

hejq 8 years ago
parent
commit
c16da3ebda
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/webapp/resources/tpl/error/index.html

+ 2 - 1
src/main/webapp/resources/tpl/error/index.html

@@ -6,7 +6,8 @@
 </head>
 </head>
 <body>
 <body>
 <script type="text/javascript">
 <script type="text/javascript">
-    window.location.href="http://uas.ubtob.com/#/index";
+    //去除掉undefined
+    window.location.href=window.location.href.replace('/undefined', '#/index');
 </script>
 </script>
 </body>
 </body>
 </html>
 </html>