将node_modules/sockjs-client/dist/sockjs.js中1606行注释掉
1605 try {
1606 //self.xhr.send(payload);
1607 } catch (e) {
1608 self.emit('finish', 0, '');
1609 self._cleanup(false);
1610 }
来源:CSDN
作者:Edgar_HW
链接:https://blog.csdn.net/huangwei2014/article/details/104773720