Skip to content

获取数据出错 #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bighanhjk opened this issue Jun 24, 2024 · 3 comments
Open

获取数据出错 #335

bighanhjk opened this issue Jun 24, 2024 · 3 comments

Comments

@bighanhjk
Copy link

bighanhjk commented Jun 24, 2024

🐛 Bug Report(错误报告)

获取分数数据出错

To Reproduce(重现)

reload vscode window
image
(我复制url在edge中打开可以正常获取到数据)

Expected behavior(预期行为)

正确获取到数据

Extension Output(扩展输出)

几次请求的结果,太长了中间省略一下:
{"code":100,"user_name":"bighanhjk"}
[{"state":"None","id":1000051,"fid":"面试题 17.26","name":"稀疏相似度","slug":"sparse-similarity-lcci","locked":false,"percent":35.839416058394164,"level":"Hard","starred":false,"category":"LCCI","en_name":"Sparse Similarity LCCI","cn_name":"稀疏相似度"},
...
{"state":"None","id":1,"fid":"1","name":"两数之和","slug":"two-sum","locked":false,"percent":53.815368941321736,"level":"Easy","starred":false,"category":"algorithms","en_name":"Two Sum","cn_name":"两数之和"}]
{"code":101,"data":{}}
{"titleSlug":"next-greater-element-ii","questionId":"503","fid":"503","userStatus":"NOT_START"}

Your Environment

  • os(操作系统):
    版本 Windows 10 专业版
    版本号 22H2
    安装日期 ‎2022/‎11/‎12
    操作系统内部版本 19045.4529
    体验 Windows Feature Experience Pack 1000.19058.1000.0

  • extension settings(扩展设置):
    "leetcode-problem-rating.workspaceFolder": "c:\dev\leetcode",
    "leetcode-problem-rating.hint.configWebviewMarkdown": false,
    "leetcode-problem-rating.hint.commentDescription": false,
    "leetcode-problem-rating.defaultLanguage": "javascript"
    其它未修改

  • nodejs version(nodejs 版本):
    v18.17.1,自己安装的版本

  • vscode version(vscode 版本):
    Version: 1.90.2 (system setup)
    Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
    Date: 2024-06-18T22:34:26.404Z
    Electron: 29.4.0
    ElectronBuildId: 9728852
    Chromium: 122.0.6261.156
    Node.js: 20.9.0
    V8: 12.2.281.27-electron.0
    OS: Windows_NT x64 10.0.19045

  • extension version(扩展版本):
    v3.2.4

@bighanhjk
Copy link
Author

image

@ccagml
Copy link
Owner

ccagml commented Jun 25, 2024

是不是插件没走上代理之类的原因?

@bighanhjk
Copy link
Author

是不是插件没走上代理之类的原因?

这个必须要走代理吗,插件应该也走代理了吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants