theme-next / hexo-theme-next

Elegant and powerful theme for Hexo.
https://theme-next.org
Other
8.13k stars 2.05k forks source link

【leancloud_visitors】文章详情页阅读次数不显示,首页却能够显示阅读次数 #1517

Closed Ash-zd closed 4 years ago

Ash-zd commented 4 years ago

Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist


Expected behavior

文章详情页阅读次数显示正常 向Leancloud POST请求

Actual behavior

Steps to reproduce the behavior

  1. N/A
  2. N/A
  3. N/A

Environment Information

Node.js and NPM Information

node -v
v12.18.0
npm -v
6.14.5

Package dependencies Information

hexo-site@0.0.0 C:\Users\Ash\Desktop\GitHub\hexo
+-- hexo@4.2.1
+-- hexo-admonition@1.1.2
+-- hexo-asset-image@0.0.5 (git+https://github.com/CodeFalling/hexo-asset-image.git#3c114cf0c0343ab28469635085b225fcae7fb9d3)
+-- hexo-deployer-git@2.1.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-category@1.0.0
+-- hexo-generator-index@1.0.0
+-- hexo-generator-searchdb@1.3.0
+-- hexo-generator-tag@1.0.0
+-- hexo-leancloud-counter-security@1.5.0
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@2.0.0
+-- hexo-renderer-stylus@1.1.0
+-- hexo-server@1.0.0
`-- hexo-symbols-count-time@0.7.1

Hexo Configuration

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
  - type: git
    repo: git@e.coding.net:Ash_zd/Ash_zd.git
    branch: master
  - type: leancloud_counter_security_sync

# Leancloud Security
## Docs: https://github.com/theme-next/hexo-leancloud-counter-security
leancloud_counter_security:
  enable_sync: true
  app_id: <已填写正确>
  app_key: <已填写正确>
  server_url: https://leancloud.cn
  username: NormalAsh
  password: <已填写正确>

NexT Configuration

# Valine
# For more information: https://valine.js.org, https://github.com/xCss/Valine
valine:
  enable: false
  appid: # Your leancloud application appid
  appkey: # Your leancloud application appkey
  notify: false # Mail notifier
  verify: false # Verification code
  placeholder: Just go go # Comment box placeholder
  avatar: mm # Gravatar style
  guest_info: nick,mail,link # Custom comment header
  pageSize: 10 # Pagination size
  language: # Language, available values: en, zh-cn
  visitor: false # Article reading statistic
  comment_count: true # If false, comment count will only be displayed in post page, not in home page
  recordIP: false # Whether to record the commenter IP
  serverURLs: # When the custom domain name is enabled, fill it in here (it will be detected automatically by default, no need to fill in)
  #post_meta_order: 0

leancloud_visitors:
  enable: true
  app_id: <已填写正确>
  app_key: <已填写正确>
  # Required for apps from CN region
  server_url: https://leancloud.cn
  # Dependencies: https://github.com/theme-next/hexo-leancloud-counter-security
  # If you don't care about security in leancloud counter and just want to use it directly
  # (without hexo-leancloud-counter-security plugin), set `security` to `false`.
  security: true

Other Information

没有启用valine评论功能 image image image image

welcome[bot] commented 4 years ago

Thanks for opening this issue, maintainers will get back to you as soon as possible!

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label Question to this issue, with a confidence of 0.64. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Ash-zd commented 4 years ago

玄学,新发了一篇文章后他自己又好了。。。