fix: 手动刷新提示结果并重置倒计时

This commit is contained in:
2026-10-12 18:45:11 +08:00
parent 92b5621a51
commit 24cffd7c56
2 changed files with 56 additions and 8 deletions
+5
View File
@@ -289,6 +289,11 @@ func (a *App) page(w http.ResponseWriter, r *http.Request) {
func (a *App) manualRefresh(w http.ResponseWriter, r *http.Request) {
if a.isLoggedIn() {
a.refresh()
if a.isLoggedIn() {
a.stampNext()
a.wakeLoop()
a.save()
}
}
writeJSON(w, http.StatusOK, a.view())
}