支持用户换头像

This commit is contained in:
maojindao55
2025-07-14 19:04:02 +08:00
parent af2eabddf0
commit b63534895a
10 changed files with 94 additions and 135 deletions

View File

@@ -1,10 +1,24 @@
import { RouterProvider } from 'react-router-dom';
import { Toaster } from 'sonner';
import { router } from './routes';
function App() {
console.log("App rendering"); // 添加日志
return (
<RouterProvider router={router} />
<>
<RouterProvider router={router} />
<Toaster
position="top-center"
richColors
toastOptions={{
style: {
fontSize: '14px',
fontWeight: '500',
},
}}
theme="light"
/>
</>
);
}