lushdog@outlook.com 6 өдөр өмнө
parent
commit
f87c4525b4

+ 1 - 1
src/app/components/DataTable.tsx

@@ -95,7 +95,6 @@ export default function DataTable() {
             }
             }
           }
           }
         )
         )
-        console.log(options)
         setPoolOptions(options)
         setPoolOptions(options)
       }
       }
     } catch (error) {
     } catch (error) {
@@ -138,6 +137,7 @@ export default function DataTable() {
           key: `${item.id || index}`,
           key: `${item.id || index}`,
           ...item,
           ...item,
         })) as TableData[])
         })) as TableData[])
+        setExpandedRowKeys([])
         setPagination({
         setPagination({
           current: current,
           current: current,
           pageSize: pageSize,
           pageSize: pageSize,