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
bug:启用pjax后,使用浏览器返回键返回到有评论组件的文章会提示加载失败 #100
Comments
只能在数据库中找到相关记录删除才行
|
请提供主题使用方式,我并未在其他使用 pjax 的主题上复现。
前端未传 gvk 应该和这个无关。 |
https://web.ugreen.cloud/web/#/share/EC-uUvx554JJ492YbEa-203307 提取码:D7P3
主题加载组件方式:
不确定是否是需要在pajx加载后进行特殊处理还是完全由组件加载的 |
主题是哪个?我测试一下。 |
halo-theme-dream2.0-V1.3.0.41.zip |
改成这种形式就没问题了 |
这种形式是直接作为 Web Component 使用,可能在这种场景下确实没问题。之前的问题可能出在 init 方法,我会在排查一下。 |
@ruibaby 幸苦了,这种方式测试后发现实际会导致打开文章自动滚动到评论的位置,会略过全部内容直接显示评论,但是无论怎么前进后退都读取正常 |
bug:启用pjax后,使用浏览器返回键返回到有评论组件的文章会提示加载失败
好像是参数没了
看代码是这样加载的
The text was updated successfully, but these errors were encountered: