TencentCloudBase / TencentCloudBase/awesome-cloudbase-examples
用户未登录,执行登录
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 430
- Forks
- 288
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Description
环境ID配置完启动项目后,打开浏览器控制台,看到提示:用户未登录,执行登录,打印console.log('当前登录状态:', loginState);,提示如图,并没有发现loginState.isLoggedIn属性,应该怎么解决
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Configure the environment ID, start the project, and begin in the browser console where the “用户未登录,执行登录” message and loginState output appear. Trace the login flow from that entry point and determine why isLoggedIn is absent; done means the login state is correctly exposed or the expected usage is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100