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

typecho主题使用了PJAX功能怎么修改插件代码呢 #15

Closed
schrodingercatss opened this issue Jun 10, 2020 · 4 comments
Closed
Labels
invalid This doesn't seem right

Comments

@schrodingercatss
Copy link

typecho主题使用了PJAX功能后,切换页面会无法加载模型或加载图像错乱,具体报错信息为:

Uncaught TypeError: Cannot read property 'createProgram' of undefined
    at mt.loadShaders2 (VM743 l2d.js:1)
    at mt.initShader (VM743 l2d.js:1)
    at mt._$ZT (VM743 l2d.js:1)
    at Y.preDraw (VM743 l2d.js:1)
    at ft.update (VM743 l2d.js:1)
    at o.update (VM743 l2d.js:1)
    at _ (VM743 l2d.js:1)
    at t (VM743 l2d.js:1)

应该如何解决呢?

@Dreamer-Paul
Copy link
Owner

使用 pio.init() 重载可以么

@schrodingercatss
Copy link
Author

TIM截图20200610204412.png,已经设置了上述代码,但仍然报错

@Dreamer-Paul
Copy link
Owner

能提供下使用的站点地址和主题名称么?

@Dreamer-Paul
Copy link
Owner

长期未得到回复,此 Issue 就先关闭咯,有问题可以提供详细内容再处理

@Dreamer-Paul Dreamer-Paul added the invalid This doesn't seem right label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants