mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
chore: add api key and value placeholder (#2538)
This commit is contained in:
@@ -79,7 +79,9 @@ const ConfigCredential: FC<Props> = ({
|
||||
<input
|
||||
value={tempCredential.api_key_header}
|
||||
onChange={e => setTempCredential({ ...tempCredential, api_key_header: e.target.value })}
|
||||
className='w-full h-10 px-3 text-sm font-normal bg-gray-100 rounded-lg grow' />
|
||||
className='w-full h-10 px-3 text-sm font-normal bg-gray-100 rounded-lg grow'
|
||||
placeholder={t('tools.createTool.authMethod.types.apiKeyPlaceholder')!}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -87,7 +89,9 @@ const ConfigCredential: FC<Props> = ({
|
||||
<input
|
||||
value={tempCredential.api_key_value}
|
||||
onChange={e => setTempCredential({ ...tempCredential, api_key_value: e.target.value })}
|
||||
className='w-full h-10 px-3 text-sm font-normal bg-gray-100 rounded-lg grow' />
|
||||
className='w-full h-10 px-3 text-sm font-normal bg-gray-100 rounded-lg grow'
|
||||
placeholder={t('tools.createTool.authMethod.types.apiValuePlaceholder')!}
|
||||
/>
|
||||
</div>
|
||||
</>)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user