问题描述
我在两个页面之间导航时遇到问题 [ home.PHP --> about.PHP ] 页面重新加载并且没有导航到慢速网络上的 about.PHP 页面。
我正在使用 Barba 预取
barba.use(barbaPrefetch);
barba.init({
sync: true,preventRunning: true,// also increase the timeout to Prevent error
timeout: 5000,transitions: [
{
name: "dpk-transition",async once({ next }) {
smooth(next.container);
},async leave({ next }) {
const done = this.async();
pageTransition();
await Delay(1000);
done();
},beforeEnter({ next }) {
init();
},},],views: [
{
namespace: "curtain",afterEnter({ next }) {
curtainEffect();
},beforeLeave({ current }) {
destroyPlane();
},});
这是我们在选择 3g 慢速网络模式时可以检查和查看的实时站点 http://brahmandjyotish.com/
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)