workflow multi languages
This commit is contained in:
@@ -64,7 +64,7 @@ const DeployToTencentCOS = ({ data }: DeployFormProps) => {
|
||||
});
|
||||
|
||||
const onSubmit = async (config: z.infer<typeof formSchema>) => {
|
||||
updateNode({ ...data, config: { ...config } });
|
||||
updateNode({ ...data, config: { ...config }, validated: true });
|
||||
hidePanel();
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ const DeployToTencentCOS = ({ data }: DeployFormProps) => {
|
||||
name="certificate"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>证书</FormLabel>
|
||||
<FormLabel>{t("workflow.common.certificate.label")}</FormLabel>
|
||||
<FormControl>
|
||||
<Select
|
||||
{...field}
|
||||
@@ -93,7 +93,7 @@ const DeployToTencentCOS = ({ data }: DeployFormProps) => {
|
||||
}}
|
||||
>
|
||||
<SelectTrigger>
|
||||
<SelectValue placeholder="选择证书来源" />
|
||||
<SelectValue placeholder={t("workflow.common.certificate.placeholder")} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
{beforeOutput.map((item) => (
|
||||
|
||||
Reference in New Issue
Block a user