Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复详情
修复game主题的Page文章列表样式下,向后翻页"Next->"按钮不显示的问题。
问题定位
发生问题的文件为themes\game\components\BlogListPage.js
NOTION_CONFIG不是数字,导致totalPage = NaN,showNext始终为false,向后翻页按钮"Next->"总是不显示.
修复思路
其它主题下可以正确显示翻页按钮,因此可以参考其它主题下的文件,例如themes\simple\components\BlogListPage.js,以修复game主题下向后翻页按钮"Next->"不显示的问题。