From 6d25f9c205e039c671f315d3196889980ce5d81d Mon Sep 17 00:00:00 2001 From: yoan <536464346@qq.com> Date: Sun, 22 Dec 2024 18:37:03 +0800 Subject: [PATCH 1/3] fix build error --- ui/src/components/workflow/StartForm.tsx | 2 +- ui/src/declarations.d.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ui/src/declarations.d.ts 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; +} From 88cbf30fde72385f4c61264eb790b2a7cc308e33 Mon Sep 17 00:00:00 2001 From: yoan <536464346@qq.com> Date: Sun, 22 Dec 2024 18:38:24 +0800 Subject: [PATCH 2/3] update version --- ui/src/domain/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/domain/version.ts b/ui/src/domain/version.ts index 87dd5629..f71fbe93 100644 --- a/ui/src/domain/version.ts +++ b/ui/src/domain/version.ts @@ -1 +1 @@ -export const version = "v0.3.0-alpha.6"; +export const version = "v0.3.0-alpha.7"; From ba73e040463662a5dd40736e41a0d782037786a1 Mon Sep 17 00:00:00 2001 From: yoan <536464346@qq.com> Date: Sun, 22 Dec 2024 18:43:18 +0800 Subject: [PATCH 3/3] fix build error --- ui/src/components/workflow/StartForm.tsx | 3 ++- ui/src/domain/version.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/src/components/workflow/StartForm.tsx b/ui/src/components/workflow/StartForm.tsx index c63b1b00..f87cc510 100644 --- a/ui/src/components/workflow/StartForm.tsx +++ b/ui/src/components/workflow/StartForm.tsx @@ -13,6 +13,7 @@ import { Input } from "../ui/input"; import { useWorkflowStore, WorkflowState } from "@/stores/workflow"; import { WorkflowNode, WorkflowNodeConfig } from "@/domain/workflow"; import { usePanel } from "./PanelProvider"; +import { RadioChangeEvent } from "antd/lib"; const formSchema = z .object({ @@ -98,7 +99,7 @@ const StartForm = ({ data }: StartFormProps) => { ) => { + onChange={(e: RadioChangeEvent) => { setMethod(e.target.value); }} className="flex space-x-3" diff --git a/ui/src/domain/version.ts b/ui/src/domain/version.ts index f71fbe93..d61d0e40 100644 --- a/ui/src/domain/version.ts +++ b/ui/src/domain/version.ts @@ -1 +1 @@ -export const version = "v0.3.0-alpha.7"; +export const version = "v0.3.0-alpha.8";