فهرست منبع

平台404链接返回到首页

hejq 9 سال پیش
والد
کامیت
c16da3ebda
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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>