提交 e24fecbe authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 26e43d31
......@@ -123,7 +123,7 @@ function scrollToBottom() {
}
watch(messages.value, () => nextTick(() => scrollToBottom()))
const { copy } = useClipboard()
const { copy } = useClipboard({ legacy: true })
function handleCopy(content) {
const html = xss(content, {
......@@ -218,8 +218,7 @@ async function handleSave(message) {
:autosize="{ minRows: 1, maxRows: 12 }"
placeholder="发消息"
v-model="content"
@keydown.enter="handleSend"
></el-input>
@keydown.enter="handleSend"></el-input>
<el-button text type="primary" @click="handleSend">发送</el-button>
</div>
</template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论