diff --git a/web/components/nav-user.tsx b/web/components/nav-user.tsx index 801b9ac..976daaa 100644 --- a/web/components/nav-user.tsx +++ b/web/components/nav-user.tsx @@ -95,14 +95,6 @@ export function NavUser({ - { - setChangePasswordOpen(true) - }} - > - - 修改密码 - { router.push("/dashboard/notifications") @@ -117,6 +109,14 @@ export function NavUser({ ) : null} + { + setChangePasswordOpen(true) + }} + > + + 修改密码 +