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 67717603..59a31ce2 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 @@ -19,10 +19,10 @@ v-for="(item, index) in uploadDocumentList" :key="index" :xs="24" - :sm="12" - :md="12" - :lg="12" - :xl="12" + :sm="props.type === 'debug-ai-chat' ? 24 : 12" + :md="props.type === 'debug-ai-chat' ? 24 : 12" + :lg="props.type === 'debug-ai-chat' ? 24 : 12" + :xl="props.type === 'debug-ai-chat' ? 24 : 12" class="mb-8" > -
+ -
+
diff --git a/ui/src/components/ai-chat/component/question-content/index.vue b/ui/src/components/ai-chat/component/question-content/index.vue index 20ada395..c5b38aaf 100644 --- a/ui/src/components/ai-chat/component/question-content/index.vue +++ b/ui/src/components/ai-chat/component/question-content/index.vue @@ -21,10 +21,10 @@ v-for="(item, index) in document_list" :key="index" :xs="24" - :sm="12" - :md="12" - :lg="12" - :xl="12" + :sm="props.type === 'debug-ai-chat' ? 24 : 12" + :md="props.type === 'debug-ai-chat' ? 24 : 12" + :lg="props.type === 'debug-ai-chat' ? 24 : 12" + :xl="props.type === 'debug-ai-chat' ? 24 : 12" class="mb-8 w-full" > @@ -45,17 +45,8 @@
- - + + +
@@ -79,10 +70,10 @@ v-for="(item, index) in audio_list" :key="index" :xs="24" - :sm="12" - :md="12" - :lg="12" - :xl="12" + :sm="props.type === 'debug-ai-chat' ? 24 : 12" + :md="props.type === 'debug-ai-chat' ? 24 : 12" + :lg="props.type === 'debug-ai-chat' ? 24 : 12" + :xl="props.type === 'debug-ai-chat' ? 24 : 12" class="mb-8" >
@@ -109,6 +100,7 @@ import { onMounted, computed } from 'vue' const props = defineProps<{ application: any chatRecord: chatType + type: 'log' | 'ai-chat' | 'debug-ai-chat' }>() const document_list = computed(() => { if (props.chatRecord?.upload_meta) { @@ -163,7 +155,6 @@ onMounted(() => {}) } } - .download-button { display: none; } diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index e811cd06..b0671772 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -18,7 +18,11 @@