chore: version 2.7.1 (#99)

* feat: 调整流输出为实验性质

* feat: 取消回答按钮

* feat: 更新版本查看

* feat: 单消息复制和删除功能

* feat: 消除警告

* feat: 优化删除功能

* chore: version 2.7.1
This commit is contained in:
Redon authored and GitHub committed 2023-02-23 12:44:28 +08:00
1 parent 10058f151c
commit 1e2f893ef6
11 files changed
+139 -80

No files matched your search

+2
View File
@@ -2,6 +2,8 @@ import type { App, Directive } from 'vue'
import hljs from 'highlight.js'
import includeCode from '@/utils/functions/includeCode'
hljs.configure({ ignoreUnescapedHTML: true })
function highlightCode(el: HTMLElement) {
if (includeCode(el.textContent))
hljs.highlightBlock(el)