mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
4.8.10 workflow perf (#2596)
* perf: run plugin variables init * perf: init free plan * perf: dataset data ui * perf: workflow theme * perf: plugin input modal ui * perf: workflow dispatch * fix: account ui * feat: 4810 doc
This commit is contained in:
@@ -33,7 +33,7 @@ export type Props = {
|
||||
icon?: IconNameType | string;
|
||||
label: string | React.ReactNode;
|
||||
description?: string;
|
||||
onClick: () => any;
|
||||
onClick?: () => any;
|
||||
}[];
|
||||
}[];
|
||||
};
|
||||
@@ -170,8 +170,10 @@ const MyMenu = ({
|
||||
{...menuItemStyles}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
setIsOpen(false);
|
||||
child.onClick && child.onClick();
|
||||
if (child.onClick) {
|
||||
setIsOpen(false);
|
||||
child.onClick();
|
||||
}
|
||||
}}
|
||||
color={child.isActive ? 'primary.700' : 'myGray.600'}
|
||||
whiteSpace={'pre-wrap'}
|
||||
|
@@ -105,7 +105,7 @@ const MultipleRowSelect = ({
|
||||
justifyContent={'space-between'}
|
||||
width={'100%'}
|
||||
rightIcon={<ChevronDownIcon />}
|
||||
variant={'whiteFlow'}
|
||||
variant={'whiteBase'}
|
||||
_active={{
|
||||
transform: 'none'
|
||||
}}
|
||||
|
Reference in New Issue
Block a user