Skip to content

Commit f70e5d9

Browse files
committed
feat: chatList click event
1 parent 49885cc commit f70e5d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/chat/ChatList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function handleCommand(command: string | number | object, chat: Chat) {
114114
<template v-for="chat in chatList" :key="chat.id">
115115
<div class="chat-list-item" :class="{'active': currentChatId === chat.id}" @click="onClickHistory(chat)">
116116
<span class="title">{{ chat.brief ?? 'Untitled' }}</span>
117-
<el-button class="icon-more" link>
117+
<el-button class="icon-more" link type="primary" @click.stop>
118118
<el-dropdown trigger="click" @command="(cmd: any)=> handleCommand(cmd, chat)">
119119
<el-icon>
120120
<MoreFilled/>

0 commit comments

Comments
 (0)