胖达
胖达
这个可能是bypass的方法没有添加最后的返回导致的 ` vue.config.js ` ``` module.exports = { devServer: { proxy: { "/api": { target: "http://localhost:3000", bypass: function(req, res) { console.log(req.path); console.log(process.env.MOCK); if (req.headers.accept.indexOf("html") !== -1) { console.log("Skipping proxy for...
每个微信版本都会做混淆,所有需要改代码进行编译的。
I also encountered this problem, thanks for the reminder. I seem that setting the pingResp on "packetreceive" solves this issue. ``` this.client.on("packetreceive", () => { this.client.pingResp = true; }); ```