2025-03-17 User Detail
Jump to navigation
Jump to search
Concept
- check if login by get access_token from local_storage
- querry userId from backend if login and set it in local_storage
- use userId to querry user_detail
- Must to set Uset-detal component as parent of menu-output
- Menu-output it always mount on web page every single page will see menu-output.
- After login menu-output will check login and decide which component should output between login component and not login component by check user detail had already query user-detail or not.