Tcode平台改造升级-AI助手菜单显示功能修改

This commit is contained in:
fmk1023
2025-12-03 09:53:16 +08:00
parent e01a050f80
commit 86d26f161a
3 changed files with 923 additions and 1 deletions

View File

@@ -139,6 +139,7 @@
</div>
<ViewHistoryAside ref="viewHistoryRef" :CONV_ID="CONV_ID" :username="username" v-show="isHistoryVisible" @select-conv="handleSelectConv"/>
<!-- <ViewHistoryAsideNew ref="viewHistoryRef" :CONV_ID="CONV_ID" :username="username" v-show="isHistoryVisible" @onNewConvo="onNewConvo" @select-conv="handleSelectConv"/>-->
</div>
</template>
@@ -153,6 +154,7 @@ import OssDetail from './components/OssDetail.vue';
import Other from './components/Other.vue';
import AIList from './components/AIList.vue';
import ViewHistoryAside from './components/ViewHistoryAside/ViewHistoryAside.vue';
import ViewHistoryAsideNew from './components/ViewHistoryAside/ViewHistoryAsideNew.vue';
import axios from 'axios';
import { useDiscussGetUserInfo } from '@/api/discussion/hook';
import { Message } from 'vue-devui/message';
@@ -196,7 +198,7 @@ const messages = ref([]);
const followupQuestions = ref([]);
// 控制 ViewHistoryAside 组件的显示状态
const isHistoryVisible = ref(false);
const isHistoryVisible = ref(true);
// 切换 ViewHistoryAside 组件的显示与隐藏