接入 ESLint 与 Prettier 并加入 CI 静态门禁
前端验证 / verify (push) Failing after 15m2s

This commit is contained in:
cieanyau committed 2026-11-07 01:24:36 +08:00
1 parent 339df89fcf
commit 651c36367f
33 files changed
+1420 -40

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ var fe = {
let t = M.value.flatMap((e, t) => (e.enabled ? [t] : []));
if (!t.length) return;
let n = t.indexOf(N.value),
r = n;
r;
if (e.key === `ArrowRight`) r = (n + 1) % t.length;
else if (e.key === `ArrowLeft`) r = (n + t.length - 1) % t.length;
else if (e.key === `Home`) r = 0;