diff --git a/导航页切换分类.js b/导航页切换分类.js index 70efff6..8f40eed 100644 --- a/导航页切换分类.js +++ b/导航页切换分类.js @@ -13,7 +13,7 @@ 'use strict'; window.addEventListener('load', function () { - setTimeout(init, 1500); + setTimeout(init, 1000); function init() { const search_bar = document.querySelector("#search-bar"); if (search_bar) { @@ -36,7 +36,6 @@ const targetSpan = spans[currentIndex]; if (targetSpan) { targetSpan.click(); - console.log(`已点击第 ${currentIndex} 个 span`); } } });