fix(quota): declare monthlyTargetTime (undeclared since v0.4.2 refactor), ReferenceError when Command Code data absent; add undeclared-identifier scan to pagecheck (v0.4.5)

This commit is contained in:
2026-09-23 10:09:23 +08:00
parent 9d1884cf20
commit c2b8d89ba6
4 changed files with 220 additions and 5 deletions
+3 -1
View File
@@ -918,7 +918,7 @@ const QuotaPageHTML = `<!DOCTYPE html>
<div>
<div class="brand-title">
用量配额
<span class="version-tag">v0.4.4</span>
<span class="version-tag">v0.4.5</span>
</div>
</div>
</div>
@@ -1234,6 +1234,8 @@ const QuotaPageHTML = `<!DOCTYPE html>
const lastUpdated = document.getElementById("lastUpdated");
let fiveHourTargetTime = null;
let monthlyTargetTime = null;
let weeklyTargetTime = null;
let timerInterval = null;