mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-14 07:00:47 +00:00
fix external var ui (#4444)
This commit is contained in:
@@ -813,12 +813,14 @@ const ChatBox = ({
|
||||
showEmptyIntro &&
|
||||
chatRecords.length === 0 &&
|
||||
!variableList?.length &&
|
||||
!externalVariableList?.length &&
|
||||
!welcomeText,
|
||||
[
|
||||
chatRecords.length,
|
||||
feConfigs?.show_emptyChat,
|
||||
showEmptyIntro,
|
||||
variableList?.length,
|
||||
externalVariableList?.length,
|
||||
welcomeText
|
||||
]
|
||||
);
|
||||
|
@@ -297,7 +297,7 @@ const InputTypeConfig = ({
|
||||
<FormLabel flex={'0 0 132px'} fontWeight={'medium'}>
|
||||
{t('common:core.module.Default Value')}
|
||||
</FormLabel>
|
||||
<Flex alignItems={'center'} flex={1} h={10}>
|
||||
<Flex flex={1} h={10}>
|
||||
{(inputType === FlowNodeInputTypeEnum.numberInput ||
|
||||
(inputType === VariableInputEnum.custom &&
|
||||
valueType === WorkflowIOValueTypeEnum.number)) && (
|
||||
|
Reference in New Issue
Block a user