kucservice 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4127,9 +4127,8 @@ var Socket = /*#__PURE__*/function (_WebSocket) {
4127
4127
  } else {
4128
4128
  // 处理普通数据
4129
4129
  try {
4130
- var _parseData = JSON.parse(e.data);
4131
-
4132
- this._dep.notify('message', _parseData);
4130
+ // const _parseData = JSON.parse(e.data)
4131
+ this._dep.notify('message', e.data);
4133
4132
  } catch (error) {
4134
4133
  console.log(error);
4135
4134
  }
@@ -4215,7 +4214,6 @@ var useSocket = function useSocket() {
4215
4214
 
4216
4215
  var _self = arguments.length > 1 ? arguments[1] : undefined;
4217
4216
 
4218
- debugger;
4219
4217
  if (!window.WebSocket) return console.error('您的浏览器不支持WebSocket, 请更换浏览器!');
4220
4218
  var dep = new EventMap();
4221
4219
  var reconnectCount = 0;
Binary file