lizh
lizh
同问 登录问题,你们解决了吗? evalDOM生成的骨架代码,怎么自动注入到html中(下一次访问,可以看到骨架预览效果)?
再请教一下 page.setCookie方法是在哪里调用的? 在dps.config.js中的其个回调函数中,还是需要自己启动一个puppeteer? @ZZZhangrong
> pp.js文件里之前用的page.setExtraHTTPHeaders设置,替换成page.setCookie方法 @1927344728 是要改插件里面的pp.js中的方法。 好的。谢谢
项目中没有用vue-router,骨架预览页面空白。浏览器控制台报错: ```js TypeError: Cannot read property 'html' of undefined at a.setCode (bundle.4da48e9f37a58e077c95.js:formatted:15435) at fn.e.$emit (bundle.4da48e9f37a58e077c95.js:formatted:2006) at _.de.onmessage (bundle.4da48e9f37a58e077c95.js:formatted:16178) at _.r.dispatchEvent (bundle.4da48e9f37a58e077c95.js:formatted:13468) at bundle.4da48e9f37a58e077c95.js:formatted:16917 at Array.forEach () at _._transportMessage (bundle.4da48e9f37a58e077c95.js:formatted:16915) at...
遇到同样问题。加这几个参数就可以: { ..., autoCrop: true, autoCropWidth: 325, autoCropHeight: 325 }