From a4538a4e187ffac793acc52919bd96573c2273c5 Mon Sep 17 00:00:00 2001
From: verou <857149855@qq.com>
Date: 星期一, 24 三月 2025 10:21:22 +0800
Subject: [PATCH] fix:0324修改

---
 rsf-admin/src/page/fields/FieldsList.jsx |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/rsf-admin/src/page/fields/FieldsList.jsx b/rsf-admin/src/page/fields/FieldsList.jsx
index 5c1f785..78970d9 100644
--- a/rsf-admin/src/page/fields/FieldsList.jsx
+++ b/rsf-admin/src/page/fields/FieldsList.jsx
@@ -68,13 +68,13 @@
     <SelectInput source="unique" label="table.field.fields.unique"
         choices={[
             { id: 0, name: ' 闈炲敮涓�' },
-            { id:   1, name: '  鍞竴' },
+            { id: 1, name: '  鍞竴' },
         ]}
     />,
     <SelectInput source="flagEnable" label="table.field.fields.flagEnable"
         choices={[
             { id: 0, name: ' 涓嶅惎鐢�' },
-            { id:  1, name: ' 鍚敤' },
+            { id: 1, name: ' 鍚敤' },
         ]}
     />,
 
@@ -105,7 +105,7 @@
                         theme.transitions.create(['all'], {
                             duration: theme.transitions.duration.enteringScreen,
                         }),
-                    marginRight: !!drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0,
+                    marginRight: drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0,
                 }}
                 title={"menu.fields"}
                 empty={<EmptyData onClick={() => { setCreateDialog(true) }} />}
@@ -125,8 +125,6 @@
                     preferenceKey='fields'
                     bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
                     rowClick={(id, resource, record) => false}
-                    expand={() => <FieldsPanel />}
-                    expandSingle={true}
                     omit={['id', 'createTime', 'createBy', 'memo']}
                 >
                     <NumberField source="id" />

--
Gitblit v1.9.1