From 1b31e52c1ab3d5121d3b167f1122cd4e09e33d3f Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Wed, 31 Jul 2024 14:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/templates/home/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/templates/home/base.html b/ruoyi-admin/src/main/resources/templates/home/base.html index 2f8cf62..e6499e7 100644 --- a/ruoyi-admin/src/main/resources/templates/home/base.html +++ b/ruoyi-admin/src/main/resources/templates/home/base.html @@ -566,7 +566,7 @@ }) document.addEventListener('DOMContentLoaded', function() { var noticeInner = document.querySelector('.notice__inner'); - var noticeItems = Array.from(document.querySelectorAll('.notice__item')); + var noticeItems = Array.prototype.slice.call(document.querySelectorAll('.notice__item')); var currentIndex = 0; if (noticeItems.length > 1) { function showCurrentNotice() {