diff --git a/ui/src/components/workflow/index.vue b/ui/src/components/workflow/index.vue deleted file mode 100644 index 75222edbb..000000000 --- a/ui/src/components/workflow/index.vue +++ /dev/null @@ -1,237 +0,0 @@ - - - diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index f23839256..8233a0964 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -19,7 +19,7 @@
基础组件
- + diff --git a/ui/src/components/workflow/nodes/ai-chat-node/index.ts b/ui/src/workflow/nodes/ai-chat-node/index.ts similarity index 72% rename from ui/src/components/workflow/nodes/ai-chat-node/index.ts rename to ui/src/workflow/nodes/ai-chat-node/index.ts index 91a1aba55..648b515e4 100644 --- a/ui/src/components/workflow/nodes/ai-chat-node/index.ts +++ b/ui/src/workflow/nodes/ai-chat-node/index.ts @@ -1,5 +1,5 @@ import ChatNodeVue from './index.vue' -import { AppNode, AppNodeModel } from '@/components/workflow/common/app-node/index' +import { AppNode, AppNodeModel } from '@/workflow/common/app-node.ts' class ChatNode extends AppNode { constructor(props: any) { super(props, ChatNodeVue) diff --git a/ui/src/components/workflow/nodes/ai-chat-node/index.vue b/ui/src/workflow/nodes/ai-chat-node/index.vue similarity index 89% rename from ui/src/components/workflow/nodes/ai-chat-node/index.vue rename to ui/src/workflow/nodes/ai-chat-node/index.vue index b0b7fe024..324ce55e2 100644 --- a/ui/src/components/workflow/nodes/ai-chat-node/index.vue +++ b/ui/src/workflow/nodes/ai-chat-node/index.vue @@ -34,7 +34,7 @@ }" prop="name" > - + @@ -42,7 +42,7 @@ diff --git a/ui/src/components/workflow/nodes/condition-node/index.ts b/ui/src/workflow/nodes/condition-node/index.ts similarity index 73% rename from ui/src/components/workflow/nodes/condition-node/index.ts rename to ui/src/workflow/nodes/condition-node/index.ts index 8f84672c3..db542d5a1 100644 --- a/ui/src/components/workflow/nodes/condition-node/index.ts +++ b/ui/src/workflow/nodes/condition-node/index.ts @@ -1,5 +1,5 @@ import ConditioNodeVue from './index.vue' -import { AppNode, AppNodeModel } from '@/components/workflow/common/app-node/index' +import { AppNode, AppNodeModel } from '@/workflow/common/app-node.ts' class ConditioNode extends AppNode { constructor(props: any) { super(props, ConditioNodeVue) diff --git a/ui/src/components/workflow/nodes/condition-node/index.vue b/ui/src/workflow/nodes/condition-node/index.vue similarity index 93% rename from ui/src/components/workflow/nodes/condition-node/index.vue rename to ui/src/workflow/nodes/condition-node/index.vue index aef74ae55..12c0c18d4 100644 --- a/ui/src/components/workflow/nodes/condition-node/index.vue +++ b/ui/src/workflow/nodes/condition-node/index.vue @@ -6,6 +6,10 @@ require-asterisk-position="right" label-width="auto" ref="ConditionNodeFormRef" + @keydown.stop + @submit.prevent + @click.stop + @mousedown.stop >