fix: do not show api key field in channel page when the type is VertexAI

This commit is contained in:
liu.vaayne
2024-07-10 22:47:44 +08:00
committed by Vaayne
parent 62ac104eed
commit 688a7fc670

View File

@@ -506,7 +506,7 @@ const EditChannel = () => {
/>)
}
{
inputs.type !== 33 && (batch ? <Form.Field>
inputs.type !== 33 && inputs.type !== 42 && (batch ? <Form.Field>
<Form.TextArea
label='密钥'
name='key'