【已解决todo】AI 对话 删除、编辑 不切换对话

This commit is contained in:
cherishsince 2024-05-21 11:37:44 +08:00
parent 5c15b7f503
commit 8c81a9fc19

View File

@ -44,16 +44,16 @@
</div>
<!-- TODO done @fan缺一个置顶按钮效果改成 hover 上去展示 -->
<div class="button-wrapper">
<el-button class="btn" link @click="handlerTop(conversation)" >
<el-button class="btn" link @click.stop="handlerTop(conversation)" >
<el-icon title="置顶" v-if="!conversation.pinned"><Top /></el-icon>
<el-icon title="置顶" v-if="conversation.pinned"><Bottom /></el-icon>
</el-button>
<el-button class="btn" link @click="updateConversationTitle(conversation)">
<el-button class="btn" link @click.stop="updateConversationTitle(conversation)">
<el-icon title="编辑" >
<Icon icon="ep:edit"/>
</el-icon>
</el-button>
<el-button class="btn" link @click="deleteChatConversation(conversation)">
<el-button class="btn" link @click.stop="deleteChatConversation(conversation)">
<el-icon title="删除会话" >
<Icon icon="ep:delete"/>
</el-icon>