diff --git a/src/pages/story/components/TimelineItemDrawer.tsx b/src/pages/story/components/TimelineItemDrawer.tsx index d452830..13abceb 100644 --- a/src/pages/story/components/TimelineItemDrawer.tsx +++ b/src/pages/story/components/TimelineItemDrawer.tsx @@ -31,7 +31,7 @@ interface Props { } const TimelineItemDrawer: React.FC = (props) => { - const { storyItem, open, setOpen, handleDelete, handOption } = props; + const { storyItem, open, setOpen, handleDelete, handOption, disableEdit } = props; const intl = useIntl(); const { data: imagesList, run } = useRequest( @@ -100,7 +100,7 @@ const TimelineItemDrawer: React.FC = (props) => { } - footer={ {disableEdit ?? + footer={ disableEdit &&
- >}} + }>

描述