mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 17:26:55 +08:00
feat: chatList click event
This commit is contained in:
@@ -114,7 +114,7 @@ function handleCommand(command: string | number | object, chat: Chat) {
|
||||
<template v-for="chat in chatList" :key="chat.id">
|
||||
<div class="chat-list-item" :class="{'active': currentChatId === chat.id}" @click="onClickHistory(chat)">
|
||||
<span class="title">{{ chat.brief ?? 'Untitled' }}</span>
|
||||
<el-button class="icon-more" link>
|
||||
<el-button class="icon-more" link type="primary" @click.stop>
|
||||
<el-dropdown trigger="click" @command="(cmd: any)=> handleCommand(cmd, chat)">
|
||||
<el-icon>
|
||||
<MoreFilled/>
|
||||
|
||||
Reference in New Issue
Block a user