Explorar el Código

错误页面提示

hejq hace 8 años
padre
commit
133c4fdf2e
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/main/webapp/resources/tpl/error/index.html

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

@@ -8,7 +8,11 @@
 <script type="text/javascript">
     //返回上一页
 //    window.location.href="http://uas.ubtob.com/#/index";
-    window.history.go(-1);
+    setTimeout(window.history.go(-1), 5000);
 </script>
+<div align="center" style="margin-top: 180px;">
+    <img src="static/img/all/loading.gif">
+    <p style="color: #888">页面未找到,正在返回上一页,请稍候……</p>
+</div>
 </body>
 </html>