fix external var ui (#4444)

This commit is contained in:
heheer
2025-04-03 11:52:14 +08:00
committed by archer
parent 9670cba607
commit 32ae14f281
2 changed files with 3 additions and 1 deletions

View File

@@ -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
]
);

View File

@@ -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)) && (