feat(auth): add Zustand store for authentication management

- Implemented a Zustand store to manage authentication state.
- Added user information handling, including user roles and organization switching.
- Integrated toast notifications for user feedback on actions.
- Included initialization logic to check for local user and token.
This commit is contained in:
2026-02-22 01:18:28 +08:00
parent 8349e1ca4c
commit ce38fd6dad
4 changed files with 2913 additions and 7 deletions

2804
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff