diff --git a/ruoyi-admin/src/main/resources/templates/home/base.html b/ruoyi-admin/src/main/resources/templates/home/base.html index 0eb4b31..78310fc 100644 --- a/ruoyi-admin/src/main/resources/templates/home/base.html +++ b/ruoyi-admin/src/main/resources/templates/home/base.html @@ -579,7 +579,7 @@ } showCurrentNotice(); - setInterval(() => { + setInterval(function () { currentIndex = (currentIndex + 1) % noticeItems.length; showCurrentNotice(); }, 2500);