Procházet zdrojové kódy

平台404链接返回到首页

hejq před 9 roky
rodič
revize
c16da3ebda
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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>