Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-03-24 14:09:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a5fd32e1704e14565cbcbc79b132a5db302be23
8a5fd32e
1 parent
337d77fc
fix(ProfilePage): 修复社区菜单项点击跳转问题
社区菜单项点击时,使用 `window.location.href` 直接跳转到外部链接,避免路由错误
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/views/profile/ProfilePage.vue
src/views/profile/ProfilePage.vue
View file @
8a5fd32
...
...
@@ -238,7 +238,11 @@ const handleLogout = () => {
// Handle menu item click
const handleMenuClick = (path) => {
router.push(path);
if (path === '/profile/community') {
window.location.href = 'https://community.mlaj.com';
} else {
router.push(path);
}
};
// Handle image error
...
...
Please
register
or
login
to post a comment