diff --git a/crop-x/src/components/layouts/Navbar.tsx b/crop-x/src/components/layouts/Navbar.tsx index ef7f3de..866d095 100644 --- a/crop-x/src/components/layouts/Navbar.tsx +++ b/crop-x/src/components/layouts/Navbar.tsx @@ -266,15 +266,10 @@ const renderMenuItem = (item: MenuItem, isMenuActive: (url: string) => boolean) {item.icon} )} -
- - {item.title} - - {/* 激活菜单项下方的横条 */} - {isMenuActive(item.url) && ( -
- )} -
+ + {item.title} + + {isMenuActive(item.url) &&
} );