feat: implement logout on 401 response and update query handling

refactor: replace Button with div for consistent styling in AIEditorLink

refactor: update navigation handling in AppVersionList and remove LayoutMain wrapper

refactor: remove unused LayoutMain imports and components across various pages

fix: ensure user app list is set correctly in useUserAppStore

fix: update login URL format in AuthProvider

fix: adjust layout styles in EnvPage and other pages for better responsiveness

chore: update route definitions and create new routes for apps, config, domain, flowme, org, remote, token, user, and users

style: replace Button with div for delete confirmation in various components

fix: ensure correct handling of user profile image source
This commit is contained in:
2026-02-22 03:24:14 +08:00
parent f3c269dd83
commit 66ee0d7f60
44 changed files with 740 additions and 761 deletions

View File

@@ -20,7 +20,6 @@ import {
CardHeader,
CardTitle,
} from '@/components/ui/card';
import { LayoutMain } from '@/modules/layout';
import { Pencil, Key, User } from 'lucide-react';
import PandaPNG from '@/assets/panda.jpg';
@@ -53,7 +52,7 @@ const ProfileCard = () => {
/>
) : (
<img
src={PandaPNG.src}
src={PandaPNG}
alt="avatar"
className="w-full h-full object-cover"
/>
@@ -287,6 +286,4 @@ export const UserProfile = () => {
);
};
export default () => {
return <LayoutMain title="个人信息"><UserProfile /></LayoutMain>;
}
export default UserProfile