1. 调整会话历史记录下拉列表的样式异常问题:居中改为左对齐 2. 修复对话时数据未返回时无加载动画的问题 3. 调整智能体页面,设置图标和删除图标比较小的问题
@@ -20,7 +20,7 @@
</template>
<script setup>
-import { ref, defineEmits, defineProps, watch } from 'vue';
+import { ref, watch } from 'vue';
const loading = ref(false);
const checked_list = ref([]);
@@ -1,10 +1,10 @@
<template>
- <div class="dialog-chat-answer-content" :style="custom_style" v-if="content.length !== 0">
+ <div class="dialog-chat-answer-content" :style="custom_style">
<div v-if="is_loading">
<a-spin></a-spin>
</div>
- <div v-if="!is_loading" v-html="content" class="answer-content-text" />
+ <div v-if="content.length !== 0 && !is_loading" v-html="content" class="answer-content-text" />
<slot></slot>
@@ -140,7 +140,7 @@ onMounted(() => {
.dropdown-container {
display: flex;
align-items: center;
- justify-content: center;
+ /* justify-content: center; */
padding-top: 8px;
padding-bottom: 8px;
@@ -351,6 +351,8 @@ onBeforeUnmount(() => {
.card_box:hover .tools {
cursor: pointer;
visibility: visible;
+
+ font-size: 18px;
}
.card_box:hover .label-btn {
@@ -940,7 +940,7 @@ function handleWSClose(e) {}
onMounted(() => {
const agent_id = props.agent_id;
const session_id = props.session_id;
- console.log(import.meta.env, 88888);
// 组件挂载
if (session_id) {
// 有历史记录:获取历史记录内容进行展示