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 && showEmptyIntro &&
chatRecords.length === 0 && chatRecords.length === 0 &&
!variableList?.length && !variableList?.length &&
!externalVariableList?.length &&
!welcomeText, !welcomeText,
[ [
chatRecords.length, chatRecords.length,
feConfigs?.show_emptyChat, feConfigs?.show_emptyChat,
showEmptyIntro, showEmptyIntro,
variableList?.length, variableList?.length,
externalVariableList?.length,
welcomeText welcomeText
] ]
); );

View File

@@ -297,7 +297,7 @@ const InputTypeConfig = ({
<FormLabel flex={'0 0 132px'} fontWeight={'medium'}> <FormLabel flex={'0 0 132px'} fontWeight={'medium'}>
{t('common:core.module.Default Value')} {t('common:core.module.Default Value')}
</FormLabel> </FormLabel>
<Flex alignItems={'center'} flex={1} h={10}> <Flex flex={1} h={10}>
{(inputType === FlowNodeInputTypeEnum.numberInput || {(inputType === FlowNodeInputTypeEnum.numberInput ||
(inputType === VariableInputEnum.custom && (inputType === VariableInputEnum.custom &&
valueType === WorkflowIOValueTypeEnum.number)) && ( valueType === WorkflowIOValueTypeEnum.number)) && (