diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index c2ccef4..91995ee 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -540,7 +540,7 @@ const initTypewriterManager = () => { } typewriterManager = new TypewriterManager({ - typingSpeed: 30, + typingSpeed: 10, cursorText: "", }); diff --git a/src/utils/TypewriterManager.js b/src/utils/TypewriterManager.js index b183a50..9d80676 100644 --- a/src/utils/TypewriterManager.js +++ b/src/utils/TypewriterManager.js @@ -6,7 +6,7 @@ class TypewriterManager { constructor(options = {}) { // 配置选项 this.options = { - typingSpeed: 50, // 打字速度(毫秒) + typingSpeed: 10, // 打字速度(毫秒)- 调整为更快的速度 cursorText: "", // 光标样式 ...options, };