Explorar o código

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

RuoYi %!s(int64=5) %!d(string=hai) anos
pai
achega
07042ac9b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>