diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index 44caa79bf..a7f401427 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -8,7 +8,7 @@ align-center @click.stop > - + diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index adc4c0160..464d03650 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -354,30 +354,6 @@ const localLoading = computed({ }, }) -const showUserInput = ref(true) -const form_data = ref({}) -const api_form_data = ref({}) - -const toggleUserInput = () => { - showUserInput.value = !showUserInput.value - if (showUserInput.value) { - // 保存当前数据作为初始数据(用于可能的恢复) - initialFormData.value = JSON.parse(JSON.stringify(form_data.value)) - initialApiFormData.value = JSON.parse(JSON.stringify(api_form_data.value)) - } -} - -function UserFormConfirm() { - showUserInput.value = false -} - -function UserFormCancel() { - // 恢复初始数据 - form_data.value = JSON.parse(JSON.stringify(initialFormData.value)) - api_form_data.value = JSON.parse(JSON.stringify(initialApiFormData.value)) - userFormRef.value?.render(form_data.value) - showUserInput.value = false -} const upload = ref() diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index 59fe64aa8..f614199f4 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -291,17 +291,13 @@ -
- - - -