重复填写添加经历段数校正、文档规范hook、调整填写速度

This commit is contained in:
2026-07-30 21:08:31 +08:00
parent 66bca74267
commit 8b996772ea
6 changed files with 161 additions and 15 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ export type DelayLevel = "low" | "mid" | "high" | "max"
/** 各等级对应的毫秒数(统一在此处调整) */
const DELAY_MS: Record<DelayLevel, number> = {
low: 50, // <100ms 场景:微等待,点击后极短暂停
mid: 200, // 100~300ms 场景:等待 DOM 更新、弹出层渲染
low: 10, // <100ms 场景:微等待,点击后极短暂停
mid: 50, // 100~300ms 场景:等待 DOM 更新、弹出层渲染
high: 500, // >300ms 场景:等待接口返回、搜索结果、动画完成
max: 2000, // >2000ms 场景:特殊超长延时(谨慎使用)
}