소스 검색

iframe框架页会话过期弹出超时提示

RuoYi 5 년 전
부모
커밋
07042ac9b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-admin/src/main/resources/templates/login.html

+ 1 - 1
ruoyi-admin/src/main/resources/templates/login.html

@@ -18,7 +18,7 @@
     <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
     <style type="text/css">label.error { position:inherit;  }</style>
     <script>
-        if(window.top!==window.self){window.top.location=window.location};
+        if(window.top!==window.self){alert('未登录或登录超时。请重新登录');window.top.location=window.location};
     </script>
 </head>