vue ie 报错SCRIPT5022: SecurityError sockjs.js (1683,3)

  1. 找到/node_modules/sockjs-client/dist/sockjs.js

2.找到代码的 1605行

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

注释掉
3.刷新