Quellcode durchsuchen

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

RuoYi vor 5 Jahren
Ursprung
Commit
07042ac9b1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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>