perf: v4.4.6-1 (#364)

This commit is contained in:
Archer
2023-09-28 17:30:05 +08:00
committed by GitHub
parent ab57bfcc4a
commit 36f5648cae
52 changed files with 753 additions and 594 deletions

View File

@@ -1171,9 +1171,8 @@ export const useChatBox = () => {
const historyDom = document.getElementById('history');
if (!historyDom) return;
const dom = Array.from(historyDom.children).map((child, i) => {
const avatar = `<img src="${
child.querySelector<HTMLImageElement>('.avatar')?.src
}" alt="" />`;
const avatar = `<img src="${child.querySelector<HTMLImageElement>('.avatar')
?.src}" alt="" />`;
const chatContent = child.querySelector<HTMLDivElement>('.markdown');