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.
@@ -4136,9 +4136,8 @@ var Socket = /*#__PURE__*/function (_WebSocket) {
4136
4136
  } else {
4137
4137
  // 处理普通数据
4138
4138
  try {
4139
- var _parseData = JSON.parse(e.data);
4140
-
4141
- this._dep.notify('message', _parseData);
4139
+ // const _parseData = JSON.parse(e.data)
4140
+ this._dep.notify('message', e.data);
4142
4141
  } catch (error) {
4143
4142
  console.log(error);
4144
4143
  }
@@ -4224,7 +4223,6 @@ var useSocket = function useSocket() {
4224
4223
 
4225
4224
  var _self = arguments.length > 1 ? arguments[1] : undefined;
4226
4225
 
4227
- debugger;
4228
4226
  if (!window.WebSocket) return console.error('您的浏览器不支持WebSocket, 请更换浏览器!');
4229
4227
  var dep = new EventMap();
4230
4228
  var reconnectCount = 0;
Binary file