-
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.
在"Settings"组件中,通过新增的`handleLogoClick`函数,实现了点击logo返回主页的功能。该功能基于`umi`的历史路由,通过`history.push('/')`实现页面跳转。
- Loading branch information
www.zerocode.net.cn
committed
Sep 17, 2024
1 parent
10cb2bc
commit 4e7ae9a
Showing
1 changed file
with
6 additions
and
0 deletions.
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