Browse Source

🐞 fix: 修复乐跑记录轮询时变量名错误的问题

Pchen. 4 months ago
parent
commit
a56cfb187f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/lepao/lepaoRecords/index.vue

+ 1 - 1
src/pages/lepao/lepaoRecords/index.vue

@@ -288,7 +288,7 @@ let timer = null
 const startPolling = () => {
 const startPolling = () => {
   if (!timer) {
   if (!timer) {
     timer = setInterval(async () => {
     timer = setInterval(async () => {
-      await getAccounts()
+      await getRecords()
     }, 5000)
     }, 5000)
   }
   }
 }
 }