verou
2025-03-24 a4538a4e187ffac793acc52919bd96573c2273c5
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" />