diff --git a/src/components/blogs/HomePage.vue b/src/components/blogs/HomePage.vue
index c7e3157..423a00a 100644
--- a/src/components/blogs/HomePage.vue
+++ b/src/components/blogs/HomePage.vue
@@ -9,7 +9,7 @@
-
+
@@ -354,7 +354,7 @@ const items = ref([
const handleScrollEnabled = ref(true);
// 定义滚动条滚到一半显示导航菜单
const handleScroll = () => {
- if (!handleScrollEnabled.value) return;
+ // if (!handleScrollEnabled.value) return;
const scrollbar = document.querySelector('.simplebar-content-wrapper');
if (scrollbar) {
const scrollOffset = scrollbar.scrollTop;
@@ -367,7 +367,7 @@ const menuClick = ({ item }: { items: any }) => {
// if (item.title != "首页") {
show_menu.value = true;
show_carousel.value = false;
- handleScrollEnabled.value = false;
+ // handleScrollEnabled.value = false;
router.push(item.url)
}
@@ -408,11 +408,6 @@ const gravatarClick = () => {
}