Explorar el Código

feat: 优化rpm查询

CalciumIon hace 1 año
padre
commit
58b4c237a4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/src/components/LogsTable.js

+ 1 - 1
web/src/components/LogsTable.js

@@ -577,6 +577,7 @@ const LogsTable = () => {
   const refresh = async () => {
     // setLoading(true);
     setActivePage(1);
+    handleEyeClick();
     await loadLogs(0, pageSize, logType);
   };
 
@@ -740,7 +741,6 @@ const LogsTable = () => {
           onChange={(value) => {
             setLogType(parseInt(value));
             loadLogs(0, pageSize, parseInt(value));
-            handleEyeClick();
           }}
         >
           <Select.Option value='0'>全部</Select.Option>