TencentCloudBase / TencentCloudBase/awesome-cloudbase-examples

用户未登录,执行登录

Open
#114 0 comments 0 reactions 0 assignees View on GitHub

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属性,应该怎么解决

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.