Update MsgView.xaml.cs

This commit is contained in:
JieXu 2025-09-25 07:36:00 +08:00 committed by GitHub
parent 676edf8a00
commit 6be0adbdc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,8 +63,7 @@ public partial class MsgView
txtMsg.AppendText(delta.ToString());
}
else
{
// 兼容增量:如果不是全量覆盖场景,直接把 incoming 当作增量追加
{
if (old.Length == 0)
{
txtMsg.Text = incoming;