蔡青松 7 mesi fa
parent
commit
49f1f28d15
1 ha cambiato i file con 16 aggiunte e 9 eliminazioni
  1. 16 9
      src/pages/listnew/index.jsx

+ 16 - 9
src/pages/listnew/index.jsx

@@ -372,15 +372,6 @@ const List = (editType) => {
     );
   }
 
-  // const [showButton, setShowButton] = useState(false);
-  // const handleMouseEnter = () => {
-  //   setShowButton(true);
-  // };
-
-  // const handleMouseLeave = () => {
-  //   setShowButton(false);
-  // };
-
   return (
     <>
       <Toolbar aria-label="Default"></Toolbar>
@@ -559,6 +550,22 @@ const List = (editType) => {
             姓名: {
               minWidth: 100,
               defaultWidth: 200,
+            },
+            序号: {
+              minWidth: 120,
+              defaultWidth: 120,
+            },
+            性别: {
+              minWidth: 120,
+              defaultWidth: 120,
+            },
+            年龄: {
+              minWidth: 120,
+              defaultWidth: 120,
+            },
+            最后在线时间: {
+              minWidth: 120,
+              defaultWidth: 120,
             }
           }
         }