forked from MoOx/pjax
-
Notifications
You must be signed in to change notification settings - Fork 3
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
图片是相对路径的时候pjax跳转过去图片404,刷新一下又好了 #3
Comments
有一个类似的情况,我切换页面的时候hexo-tag-aplayer不显示,刷新一下才会加载。 |
同遇到 |
3 tasks
在适当位置添加以下代码即可 window.addEventListener('pjax:success', () => {
loadMeting();
}); |
厉害了,我是用gulp自动全部变成绝对路径好了,对pjax不熟
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
情况描述
如上图,这样的图片路径肯定是做的,并不是绝对路径,而是再该文章的目录下的路径
上面这样的路径能够访问到图片,而且把页面刷新一下又是正常的
The text was updated successfully, but these errors were encountered: