update readme and tips

This commit is contained in:
bridge
2026-01-09 00:49:16 +08:00
parent ff6d1b5de7
commit 59824d9cd5
18 changed files with 27 additions and 24 deletions

View File

@@ -126,8 +126,8 @@ function startTimers() {
const progressMap: Record<number, number> = { 0: 0, 1: 17, 2: 33, 3: 50, 4: 67, 5: 83 }
const nextPhaseStart = progressMap[currentPhase + 1] ?? 100
// 每秒增加 1%
if (localElapsed.value % 2 === 0) {
// 每1秒增加 1%
if (localElapsed.value % 1 === 0) {
// 如果还没达到下一阶段的起点前 1%,就继续自增
if (displayProgress.value < nextPhaseStart - 1) {
displayProgress.value++