[x] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).
What is the purpose of this pull request?
[x] Bug fix
[ ] New feature
[ ] Other
Description
In plugin-blog, when the current path is URLEncoded (e.g. the path contains Chinese), useBlogCategory() will not return currentItems, decodeURIComponent() is added in the judgment so that it can correctly handle Chinese paths.
Before submitting the PR, please make sure you do the following
close #123
).What is the purpose of this pull request?
Description
In plugin-blog, when the current path is URLEncoded (e.g. the path contains Chinese), useBlogCategory() will not return currentItems, decodeURIComponent() is added in the judgment so that it can correctly handle Chinese paths.
Screenshots
Before
After