- 360兼容模式 报错 SCRIPT5022: SecurityError sockjs.js (1687,3)
解决方法:
- 找到/node_modules/sockjs-client/dist/sockjs.js
- 找到代码的 1605行
try {
注释掉
// self.xhr.send(payload);
} catch (e) {
self.emit('finish', 0, '');
self._cleanup(false);
}
};
-
刷新
(参考网站:1.https://blog.csdn.net/weixin_44093149/article/details/99569736;2.https://www.cnblogs.com/luckyShuang/p/12502511.html)
-
对象不支持“includes”属性或方法
将include方法改为indexOf