Skip to content

Commit 8dcddaa

Browse files
committed
优化home页对话失败问题
1 parent 7355ce3 commit 8dcddaa

File tree

1 file changed

+3
-1
lines changed
  • spring-ai-alibaba-jmanus/ui-vue3/src/views/direct

1 file changed

+3
-1
lines changed

spring-ai-alibaba-jmanus/ui-vue3/src/views/direct/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,9 @@ onMounted(() => {
256256
nextTick(() => {
257257
if (chatRef.value && typeof chatRef.value.handleSendMessage === 'function') {
258258
console.log('[Direct] Directly executing task via chatRef.handleSendMessage:', taskContent)
259-
chatRef.value.handleSendMessage(taskContent)
259+
chatRef.value.handleSendMessage({
260+
input: taskContent
261+
})
260262
} else {
261263
console.warn('[Direct] chatRef.handleSendMessage method not available, falling back to prompt')
262264
prompt.value = taskContent

0 commit comments

Comments
 (0)