#
luxiaotao1123
2024-11-04 7f70cb15d035f0c233b9e62b9e43aa985317c908
zy-acs-flow/src/page/menu/MenuEdit.jsx
@@ -17,6 +17,7 @@
    Form,
    useUpdate,
    useCreate,
    useCreateContext,
} from 'react-admin';
import {
    Dialog,
@@ -33,6 +34,7 @@
import TreeSelectInput from "../components/TreeSelectInput";
const EditContent = ({ editRecord }) => {
    const { resource } = useCreateContext();
    return (
        <Grid container rowSpacing={2} columnSpacing={2}>
            <Grid item xs={6} display="flex" gap={1}>
@@ -40,7 +42,7 @@
                    label="table.field.menu.parentName"
                    value={editRecord?.parentId}
                    isTranslate
                    autoFocus
                    resource={resource}
                />
            </Grid>
            <Grid item xs={6} display="flex" gap={1}>