Skip to content
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

页面会不会局部刷新 #635

Closed
3 tasks done
zuoer96 opened this issue Apr 5, 2023 · 4 comments
Closed
3 tasks done

页面会不会局部刷新 #635

zuoer96 opened this issue Apr 5, 2023 · 4 comments

Comments

@zuoer96
Copy link

zuoer96 commented Apr 5, 2023

Issue Checklist

Other Information

详细描述:当我点击菜单的时候,会整个页面刷新(浏览器图标处旋转加载),而不是菜单不动,内容刷新,很奇怪。
我看官方的文档(https://theme-next.js.org/)点击菜单就是局部刷新(菜单不动,浏览器图标处不会旋转加载)
环境:"hexo": "^6.3.0","hexo-theme-next":"8.15.1",

@welcome
Copy link

welcome bot commented Apr 5, 2023

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

@stevenjoezhang
Copy link
Member

我猜你需要在主题配置文件里面启用一下 PJAX:

pjax: true

@zuoer96
Copy link
Author

zuoer96 commented Apr 5, 2023

我猜你需要在主题配置文件里面启用一下 PJAX:

pjax: true

感谢回复,它解决了我的问题

@zuoer96 zuoer96 closed this as completed Apr 5, 2023
Copy link

github-actions bot commented Apr 5, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants