Explorar o código

平台404链接返回到首页

hejq %!s(int64=9) %!d(string=hai) anos
pai
achega
c16da3ebda
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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>
 <body>
 <script type="text/javascript">
-    window.location.href="http://uas.ubtob.com/#/index";
+    //去除掉undefined
+    window.location.href=window.location.href.replace('/undefined', '#/index');
 </script>
 </body>
 </html>