Explorar o código

登录页面默认模式设置

RuoYi %!s(int64=5) %!d(string=hai) anos
pai
achega
c6bf712de4

+ 1 - 0
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js

@@ -339,6 +339,7 @@ var table = {
     			} else{
     				$("#" + table.options.id).bootstrapTable('refresh', params);
     			}
+    		    data = {};
     		},
     		// 导出数据
     		exportExcel: function(formId) {

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

@@ -11,9 +11,10 @@
     <link href="../static/css/style.css" th:href="@{/css/style.css}" rel="stylesheet"/>
     <link href="../static/css/login.min.css" th:href="@{/css/login.min.css}" rel="stylesheet"/>
     <link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.1.0}" rel="stylesheet"/>
-    <!--[if lt IE 9]>
-    <meta http-equiv="refresh" content="0;ie.html" />
-    <![endif]-->
+    <!-- 360浏览器急速模式 -->
+    <meta name="renderer" content="webkit">
+    <!-- 避免IE使用兼容模式 -->
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
     <style type="text/css">label.error { position:inherit;  }</style>
     <script>