refactor(ui): useAntdForm

This commit is contained in:
Fu Diwei
2024-12-25 14:51:32 +08:00
parent c9024c5611
commit 4d0f7c2e02
43 changed files with 779 additions and 677 deletions

View File

@@ -34,14 +34,14 @@ export type WorkflowState = {
export const useWorkflowStore = create<WorkflowState>((set, get) => ({
workflow: {
id: "",
name: "placeholder",
name: "",
type: WorkflowNodeType.Start,
} as WorkflowModel,
initialized: false,
init: async (id?: string) => {
let data = {
id: "",
name: "placeholder",
name: "",
type: "auto",
} as WorkflowModel;