From 9adf42677de00fbee0655b156c10ef12aff84333 Mon Sep 17 00:00:00 2001
From: verou <857149855@qq.com>
Date: 星期四, 20 三月 2025 14:06:48 +0800
Subject: [PATCH] fix:删除table panel

---
 rsf-admin/src/page/basicInfo/loc/LocList.jsx |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/loc/LocList.jsx b/rsf-admin/src/page/basicInfo/loc/LocList.jsx
index 02de0c2..e369620 100644
--- a/rsf-admin/src/page/basicInfo/loc/LocList.jsx
+++ b/rsf-admin/src/page/basicInfo/loc/LocList.jsx
@@ -104,14 +104,13 @@
 
 const LocList = () => {
     const translate = useTranslate();
+    const notify = useNotify();
+    const refresh = useRefresh();
 
     const [createDialog, setCreateDialog] = useState(false);
     const [drawerVal, setDrawerVal] = useState(false);
 
-    const dynamicFields = [
-        { type: 'text', source: 'code', label: '娴嬭瘯1' },
-        { type: 'text', source: 'type$', label: '娴嬭瘯2' },
-    ];
+
     return (
         <Box display="flex">
             <List
@@ -147,7 +146,6 @@
                         </>
                     }
                     rowClick={() => false}
-                    expand={() => <LocPanel />}
                     omit={['id', 'createTime', 'createBy', 'memo', 'updateTime', 'updateBy']}
                 >
                     <NumberField source="id" />
@@ -182,8 +180,6 @@
                     <DateField source="createTime" label="common.field.createTime" showTime />
                     <BooleanField source="statusBool" label="common.field.status" sortable={false} />
                     <TextField source="memo" label="common.field.memo" sortable={false} />
-
-                    {/* <DynamicField fields={dynamicFields} /> */}
 
                     <WrapperField cellClassName="opt" label="common.field.opt">
                         <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} />

--
Gitblit v1.9.1