Skip to content

Commit

Permalink
fix 个人资料页匹配
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Feb 1, 2025
1 parent b871af1 commit 0f4afda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@
// 3. 个人资料页
case isProfile:
const tabParam = new URLSearchParams(url.search).get('tab');
pageType = pathname.includes('/stars') ? 'profile/stars'
: tabParam ? `profile/${tabParam}`
: 'profile';
pageType = pathname.includes('/stars') ? 'page-profile/stars'
: tabParam ? `page-profile/${tabParam}`
: 'page-profile';
break;

// 4. 首页/仪表盘
Expand Down

0 comments on commit 0f4afda

Please sign in to comment.