Browse Source

fix: 回复时间

刘秀芳 7 months ago
parent
commit
b1500b9b0c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/warningHome/components/chat_components/index.vue

+ 2 - 2
src/views/warningHome/components/chat_components/index.vue

@@ -367,7 +367,7 @@ const addSystemReply = (type = "system", textObject, callback) => {
                     scrollToBottom();
                     callback && callback(); // 回复完成后解锁输入
                 }
-            }, 0);
+            }, 50);
         } else {
             callback && callback(); // 如果 content 为空,直接解锁输入
         }
@@ -386,7 +386,7 @@ const addSystemReply = (type = "system", textObject, callback) => {
                 clearInterval(headerInterval);
                 showContent();
             }
-        }, 0); // 50ms 逐字显示 header
+        }, 50); // 50ms 逐字显示 header
     } else {
         showContent();
     }