美文网首页前端填坑
Vue | sockjs.js?9be2:1606 GET ht

Vue | sockjs.js?9be2:1606 GET ht

作者: StAndres | 来源:发表于2019-10-23 17:33 被阅读0次

脚手架热部署导致的问题,
解决方案:

  • 进入 \node_modules\sockjs-client\dist\sockjs.js
  • 注释 1606行
// node_modules\sockjs-client\dist\sockjs.js

  try {
    // self.xhr.send(payload);
  } catch (e) {
    self.emit('finish', 0, '');
    self._cleanup(false);
  }
  • 就可以了

相关文章

网友评论

    本文标题:Vue | sockjs.js?9be2:1606 GET ht

    本文链接:https://www.haomeiwen.com/subject/skwkvctx.html