diff --git a/src/store/conversation.ts b/src/store/conversation.ts index 31b6ccf02e05e27d9ee53930fec2bf62723a3a1f..ccc358d6cfa3b412a18304925c36e472831b2236 100644 --- a/src/store/conversation.ts +++ b/src/store/conversation.ts @@ -241,11 +241,9 @@ export const useSessionStore = defineStore('conversation', () => { conversationItem.isFinish = true; isEnd = false; isAnswerGenerating.value = false; - console.log(params.type, '111111111111111', workFlowId) // 如果是工作流的调试功能-调试对话结束时-发送调试对话结束 - if (params.type && workFlowId) { + if (params.type) { $bus.emit('debugChatEnd'); - console.log('123-conversation') } break; } diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue index 9e5b7040b0c3bcc394d7ad64501595cd978de9d5..02645c80b37e90bad956119498ff76c9f9cc168c 100644 --- a/src/views/createapp/components/workFlow.vue +++ b/src/views/createapp/components/workFlow.vue @@ -511,8 +511,7 @@ $bus.on('getNodesStatue', lines => { // 这里结束整个工作流对话 $bus.on('debugChatEnd', () => { // 更新发布按钮状态 - emits('updateFlowsDebug') - console.log('debugChatEnd -workflow') + emits('updateFlowsDebug'); }) // 更新节点状态--这里是测试第一个成功节点改变状态的方法【同时边也随之改变】 diff --git a/src/views/createapp/index.vue b/src/views/createapp/index.vue index 529e85efa2eb1bce3f2e0ab11d67ce14aa0849dc..5f014a0ea82b6b57528f95c077ba601f21e7aaf3 100644 --- a/src/views/createapp/index.vue +++ b/src/views/createapp/index.vue @@ -52,7 +52,6 @@ const validateConnect = valid => { // 获取当前的应用中的各flowsDebug的情况 const updateFlowsDebug = (status?) => { // 如果status为false,直接置为False不再调接口 - console.log(status, 'update-debug-createapp', route.query?.appId) if (status === false) { publishValidate.value = false; return;