From 158ef0f443b9f36f8beb44853ed1f39449c45c1d Mon Sep 17 00:00:00 2001 From: yangyang Date: 星期五, 21 三月 2025 10:55:37 +0800 Subject: [PATCH] #修改 1. 动态扩展字段优化 2. 物料优化 --- 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