-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新HomeLayout组件,使用`useLocation`获取当前路径以防止在刷新时丢失。该改进确保在浏览器刷新时,当前路径能正确更新,优化了用户导航的连贯性。
- Loading branch information
www.zerocode.net.cn
committed
Sep 17, 2024
1 parent
dd4d759
commit d5efadc
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters