Skip to content

Commit

Permalink
修复复制bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanLee1996 committed Apr 27, 2023
1 parent df9b61b commit b9e941b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,7 @@ const copyLastMessage = () => {
>
</div>
<template #reference>
<div
style="display: flex"
v-if="message.role != 'ui'"
@click="copy(message.content)"
>
<div style="display: flex" v-if="message.role != 'ui'">
<div v-if="message.role == 'AI'" style="margin-right: 10px">
<!-- <Logo
:width="30"
Expand Down

0 comments on commit b9e941b

Please sign in to comment.