mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 05:19:51 +00:00
perf: template
This commit is contained in:
@@ -41,15 +41,19 @@ const NodeCard = ({
|
||||
</MyTooltip>
|
||||
)}
|
||||
<Box flex={1} />
|
||||
<MyIcon
|
||||
<Flex
|
||||
className={'nodrag'}
|
||||
name="delete"
|
||||
cursor={'pointer'}
|
||||
w={'22px'}
|
||||
h={'22px'}
|
||||
alignItems={'center'}
|
||||
justifyContent={'center'}
|
||||
color={'myGray.600'}
|
||||
w={'16px'}
|
||||
_hover={{ color: 'red.600' }}
|
||||
cursor={'pointer'}
|
||||
onClick={() => onDelNode(moduleId)}
|
||||
/>
|
||||
>
|
||||
<MyIcon name="delete" w={'16px'} />
|
||||
</Flex>
|
||||
</Flex>
|
||||
{children}
|
||||
</Box>
|
||||
|
@@ -283,7 +283,6 @@ const AppEdit = ({ app, fullScreen, onFullScreen }: Props) => {
|
||||
useEffect(() => {
|
||||
initData(JSON.parse(JSON.stringify(app)));
|
||||
}, [app, initData]);
|
||||
console.log(flow2AppModules());
|
||||
|
||||
return (
|
||||
<>
|
||||
|
Reference in New Issue
Block a user