Tcode平台改造升级-AI助手增加工具菜单

This commit is contained in:
fmk1023
2025-12-12 09:22:31 +08:00
parent 51078acc1d
commit 97dbec995f
2 changed files with 3 additions and 2 deletions

View File

@@ -192,6 +192,7 @@ const getQuestionHistory = async () => {
// 2. 新建对话
const handleNewChat = () => {
emit('select-conv', null);
emit('onNewConvo', null);
};
// 3. 选中对话

View File

@@ -138,8 +138,8 @@
</div>
</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"/>-->
<!-- <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>