GithubHelp home page GithubHelp logo

gitak获取不到评论...? about gitalk HOT 6 CLOSED

gitalk avatar gitalk commented on May 18, 2024
gitak获取不到评论...?

from gitalk.

Comments (6)

0827cg avatar 0827cg commented on May 18, 2024

依然显示0条评论

from gitalk.

booxood avatar booxood commented on May 18, 2024

控制台看下 Github API 的请求成功了吗?

from gitalk.

0827cg avatar 0827cg commented on May 18, 2024

@booxood
cgstudios-gitalk
图中请求的是issue#46,而存放了评论的是issue#49,所以此时的comments字段为空,所以获取不到评论。
如果请求的是issue#49就能获取到评论
所以问题就是,它给同一篇文章开了2个issue,每次会请求不同的issue,评论为空的issue请求几率更大

from gitalk.

booxood avatar booxood commented on May 18, 2024

当匹配到多个 issue 时,会取第一个,你可以把 #46 关闭掉来避免你现在遇到的问题。

from gitalk.

booxood avatar booxood commented on May 18, 2024

另外,这两个 issue 的 label 其实是不一样的
https://cgspace.date/2017/08/20/gitalk/2017-08-20-gitalk-comment-use/#more
https://cgspace.date/2017/08/20/gitalk/2017-08-20-gitalk-comment-use/

from gitalk.

0827cg avatar 0827cg commented on May 18, 2024

原来是我自己url的原因.......ok, @booxood ,谢谢大佬了啊

from gitalk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.