fix(web): disable markdown typewriter animation on initial render

Pass :typewriter="false" on the About page and bind
:typewriter="message.streaming" in chat so that history messages
render instantly while streaming output retains the fade-in effect.
This commit is contained in:
Acbox
2026-04-03 01:42:10 +08:00
parent c07fa8d423
commit 24a1d515ea
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -75,6 +75,7 @@
<MarkdownRender
:content="checkResult.body"
:is-dark="isDark"
:typewriter="false"
custom-id="release-notes"
/>
</div>
@@ -117,6 +117,7 @@
<MarkdownRender
:content="block.content"
:is-dark="isDark"
:typewriter="message.streaming"
custom-id="chat-msg"
/>
</div>
@@ -205,6 +206,7 @@
<MarkdownRender
:content="block.content"
:is-dark="isDark"
:typewriter="message.streaming"
custom-id="chat-msg"
/>
</div>