diff --git a/ui/src/components/workflow/StartForm.tsx b/ui/src/components/workflow/StartForm.tsx index 76532a1d..c63b1b00 100644 --- a/ui/src/components/workflow/StartForm.tsx +++ b/ui/src/components/workflow/StartForm.tsx @@ -98,7 +98,7 @@ const StartForm = ({ data }: StartFormProps) => { { + onChange={(e: React.ChangeEvent) => { setMethod(e.target.value); }} className="flex space-x-3" diff --git a/ui/src/declarations.d.ts b/ui/src/declarations.d.ts new file mode 100644 index 00000000..eb3a1b90 --- /dev/null +++ b/ui/src/declarations.d.ts @@ -0,0 +1,4 @@ +declare module "antd/locale/zh_CN" { + import zhCN from "antd/locale/zh_CN"; + export default zhCN; +}