feat: 打字速度提升

This commit is contained in:
2025-10-23 21:14:28 +08:00
parent bcfc4e12a0
commit f9df4c3f02
2 changed files with 2 additions and 2 deletions

View File

@@ -540,7 +540,7 @@ const initTypewriterManager = () => {
} }
typewriterManager = new TypewriterManager({ typewriterManager = new TypewriterManager({
typingSpeed: 30, typingSpeed: 10,
cursorText: "", cursorText: "",
}); });

View File

@@ -6,7 +6,7 @@ class TypewriterManager {
constructor(options = {}) { constructor(options = {}) {
// 配置选项 // 配置选项
this.options = { this.options = {
typingSpeed: 50, // 打字速度(毫秒) typingSpeed: 10, // 打字速度(毫秒)- 调整为更快的速度
cursorText: "", // 光标样式 cursorText: "", // 光标样式
...options, ...options,
}; };