eoss-ui 0.5.12 → 0.5.14

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.
Files changed (79) hide show
  1. package/lib/button-group.js +1 -13
  2. package/lib/button.js +3 -15
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +40 -34
  5. package/lib/data-table-form.js +4 -15
  6. package/lib/data-table.js +1219 -1529
  7. package/lib/date-picker.js +3 -15
  8. package/lib/dialog.js +10 -22
  9. package/lib/eoss-ui.common.js +1282 -1818
  10. package/lib/flow-group.js +1 -13
  11. package/lib/flow-list.js +3 -15
  12. package/lib/flow.js +43 -54
  13. package/lib/form.js +5 -22
  14. package/lib/handle-user.js +1 -13
  15. package/lib/handler.js +1 -13
  16. package/lib/icons.js +2 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +3 -15
  19. package/lib/input.js +3 -15
  20. package/lib/label.js +5 -4
  21. package/lib/layout.js +166 -152
  22. package/lib/login.js +1 -13
  23. package/lib/main.js +15 -24
  24. package/lib/menu.js +2 -2
  25. package/lib/nav.js +10 -22
  26. package/lib/notify.js +2 -2
  27. package/lib/page.js +3 -15
  28. package/lib/pagination.js +2 -2
  29. package/lib/player.js +9 -21
  30. package/lib/qr-code.js +5 -17
  31. package/lib/radio-group.js +44 -34
  32. package/lib/retrial-auth.js +3 -15
  33. package/lib/select-ganged.js +26 -18
  34. package/lib/select.js +42 -31
  35. package/lib/selector-panel.js +7 -18
  36. package/lib/selector.js +5 -17
  37. package/lib/sizer.js +3 -15
  38. package/lib/steps.js +10 -22
  39. package/lib/switch.js +3 -15
  40. package/lib/table-form.js +3 -15
  41. package/lib/tabs-panel.js +2 -2
  42. package/lib/tabs.js +3 -15
  43. package/lib/theme-chalk/data-table.css +1 -1
  44. package/lib/theme-chalk/index.css +1 -1
  45. package/lib/theme-chalk/nav.css +1 -1
  46. package/lib/tips.js +3 -15
  47. package/lib/toolbar.js +2 -2
  48. package/lib/tree-group.js +3 -15
  49. package/lib/tree.js +3 -15
  50. package/lib/upload.js +4 -16
  51. package/lib/utils/util.js +1 -10
  52. package/lib/utils/webSocket.js +0 -3
  53. package/lib/wujie.js +3 -15
  54. package/lib/wxlogin.js +3 -15
  55. package/package.json +1 -1
  56. package/packages/checkbox-group/src/main.vue +20 -30
  57. package/packages/data-table/src/children.vue +4 -8
  58. package/packages/data-table/src/column.vue +522 -575
  59. package/packages/data-table/src/main.vue +123 -124
  60. package/packages/flow/src/component/taskUnionExamine.vue +1 -1
  61. package/packages/flow/src/main.vue +1 -1
  62. package/packages/flow/src/processForm.vue +1 -1
  63. package/packages/flow/src/processReject.vue +1 -1
  64. package/packages/flow/src/startTaskRead.vue +1 -1
  65. package/packages/form/src/main.vue +2 -7
  66. package/packages/label/src/main.vue +3 -2
  67. package/packages/main/src/main.vue +6 -4
  68. package/packages/radio-group/src/main.vue +20 -30
  69. package/packages/select/src/main.vue +20 -29
  70. package/packages/select-ganged/src/main.vue +1 -3
  71. package/packages/theme-chalk/lib/data-table.css +1 -1
  72. package/packages/theme-chalk/lib/index.css +1 -1
  73. package/packages/theme-chalk/lib/nav.css +1 -1
  74. package/packages/theme-chalk/src/data-table.scss +2 -1
  75. package/packages/theme-chalk/src/nav.scss +21 -2
  76. package/src/index.js +1 -1
  77. package/src/utils/util.js +1 -10
  78. package/src/utils/webSocket.js +0 -3
  79. package/packages/data-table/src/mixins/table.js +0 -12
package/lib/main.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 30);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 31);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -2522,7 +2522,6 @@ var setStorage = function setStorage(_ref14) {
2522
2522
  * @author huangbo
2523
2523
  * @date 2022年5月7日
2524
2524
  * @param {String} [url] - 连接地址
2525
- * @param {String} [send] - 是否发送消息
2526
2525
  * @param {String} [take] - 订阅地址
2527
2526
  * @param {String} [debug] - 调试
2528
2527
  * @param {String} [interval] - 重连间隔时间
@@ -2530,16 +2529,8 @@ var setStorage = function setStorage(_ref14) {
2530
2529
  * @param {Function} [error] - 重连间隔时间
2531
2530
  **/
2532
2531
  function socket(option, vm) {
2533
- var options = {};
2534
- for (var i in option) {
2535
- if (i === 'send') {
2536
- options['isSend'] = option[i];
2537
- } else {
2538
- options[i] = option[i];
2539
- }
2540
- }
2541
2532
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2542
- socket.init(options, vm);
2533
+ socket.init(option, vm);
2543
2534
  return socket;
2544
2535
  }
2545
2536
  /**
@@ -3477,7 +3468,6 @@ var WebSocket = function () {
3477
3468
  this.connects = 1;
3478
3469
  this.recon = false;
3479
3470
  this.sendTimeout = null;
3480
- this.isSend = false;
3481
3471
  }
3482
3472
 
3483
3473
  /** socket连接 */
@@ -3505,9 +3495,7 @@ var WebSocket = function () {
3505
3495
  // tryTimes定义重置
3506
3496
  _this.connects = 1;
3507
3497
  // 订阅消息
3508
- // if (!this.isSend) {
3509
3498
  _this.subscribe();
3510
- // }
3511
3499
  }, function (error) {
3512
3500
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3513
3501
  if (_this.connects > 5 && diffSecond < _this.interval) {
@@ -3641,13 +3629,13 @@ module.exports = require("babel-runtime/regenerator");
3641
3629
  /* 18 */,
3642
3630
  /* 19 */,
3643
3631
  /* 20 */,
3644
- /* 21 */
3632
+ /* 21 */,
3633
+ /* 22 */
3645
3634
  /***/ (function(module, exports) {
3646
3635
 
3647
3636
  module.exports = require("runtime-import");
3648
3637
 
3649
3638
  /***/ }),
3650
- /* 22 */,
3651
3639
  /* 23 */,
3652
3640
  /* 24 */,
3653
3641
  /* 25 */,
@@ -3655,14 +3643,15 @@ module.exports = require("runtime-import");
3655
3643
  /* 27 */,
3656
3644
  /* 28 */,
3657
3645
  /* 29 */,
3658
- /* 30 */
3646
+ /* 30 */,
3647
+ /* 31 */
3659
3648
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3660
3649
 
3661
3650
  "use strict";
3662
3651
  // ESM COMPAT FLAG
3663
3652
  __webpack_require__.r(__webpack_exports__);
3664
3653
 
3665
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6a19317b&
3654
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=314bc538&
3666
3655
  var render = function () {
3667
3656
  var _vm = this
3668
3657
  var _h = _vm.$createElement
@@ -4092,7 +4081,7 @@ var staticRenderFns = []
4092
4081
  render._withStripped = true
4093
4082
 
4094
4083
 
4095
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6a19317b&
4084
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=314bc538&
4096
4085
 
4097
4086
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
4098
4087
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -5742,7 +5731,7 @@ var regenerator_ = __webpack_require__(12);
5742
5731
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
5743
5732
 
5744
5733
  // EXTERNAL MODULE: external "runtime-import"
5745
- var external_runtime_import_ = __webpack_require__(21);
5734
+ var external_runtime_import_ = __webpack_require__(22);
5746
5735
 
5747
5736
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=script&lang=js&
5748
5737
 
@@ -6696,6 +6685,9 @@ var log = util["a" /* default */].getParams('console');
6696
6685
  this.showSet = !this.showSet;
6697
6686
  },
6698
6687
  setConfig: function setConfig(results, flag) {
6688
+ if (this.socket) {
6689
+ this.initWebSocket();
6690
+ }
6699
6691
  if (flag) {
6700
6692
  sessionStorage.setItem('mainConfig', JSON.stringify(results));
6701
6693
  util["a" /* default */].setStorage({
@@ -6793,9 +6785,6 @@ var log = util["a" /* default */].getParams('console');
6793
6785
  util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
6794
6786
  if (res && res.rCode === 0) {
6795
6787
  _this3.setConfig(res.results, 1);
6796
- if (_this3.socket) {
6797
- _this3.initWebSocket();
6798
- }
6799
6788
  if (_this3.remote) {
6800
6789
  _this3.getMenu();
6801
6790
  } else {
@@ -7701,7 +7690,9 @@ var log = util["a" /* default */].getParams('console');
7701
7690
  }
7702
7691
  }
7703
7692
  if (_this11.$store) {
7704
- _this11.$store.commit('websocket', data);
7693
+ try {
7694
+ _this11.$store.commit('websocket', data);
7695
+ } catch (error) {}
7705
7696
  }
7706
7697
  if (_this11.$eventBus) {
7707
7698
  _this11.$eventBus.$emit('websocket', data);
package/lib/menu.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 74);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 75);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 74:
195
+ /***/ 75:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/nav.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 49);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 50);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -3448,7 +3439,14 @@ module.exports = require("qs");
3448
3439
 
3449
3440
  /***/ }),
3450
3441
 
3451
- /***/ 49:
3442
+ /***/ 5:
3443
+ /***/ (function(module, exports) {
3444
+
3445
+ module.exports = require("axios");
3446
+
3447
+ /***/ }),
3448
+
3449
+ /***/ 50:
3452
3450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3453
3451
 
3454
3452
  "use strict";
@@ -3892,13 +3890,6 @@ main.install = function (Vue) {
3892
3890
 
3893
3891
  /***/ }),
3894
3892
 
3895
- /***/ 5:
3896
- /***/ (function(module, exports) {
3897
-
3898
- module.exports = require("axios");
3899
-
3900
- /***/ }),
3901
-
3902
3893
  /***/ 6:
3903
3894
  /***/ (function(module, exports) {
3904
3895
 
@@ -3936,7 +3927,6 @@ var WebSocket = function () {
3936
3927
  this.connects = 1;
3937
3928
  this.recon = false;
3938
3929
  this.sendTimeout = null;
3939
- this.isSend = false;
3940
3930
  }
3941
3931
 
3942
3932
  /** socket连接 */
@@ -3964,9 +3954,7 @@ var WebSocket = function () {
3964
3954
  // tryTimes定义重置
3965
3955
  _this.connects = 1;
3966
3956
  // 订阅消息
3967
- // if (!this.isSend) {
3968
3957
  _this.subscribe();
3969
- // }
3970
3958
  }, function (error) {
3971
3959
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3972
3960
  if (_this.connects > 5 && diffSecond < _this.interval) {
package/lib/notify.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 50);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 51);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -532,7 +532,7 @@ function normalizeComponent(
532
532
 
533
533
  /***/ }),
534
534
 
535
- /***/ 50:
535
+ /***/ 51:
536
536
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
537
537
 
538
538
  "use strict";
package/lib/page.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 52);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 53);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -3455,7 +3446,7 @@ module.exports = require("axios");
3455
3446
 
3456
3447
  /***/ }),
3457
3448
 
3458
- /***/ 52:
3449
+ /***/ 53:
3459
3450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3460
3451
 
3461
3452
  "use strict";
@@ -3918,7 +3909,6 @@ var WebSocket = function () {
3918
3909
  this.connects = 1;
3919
3910
  this.recon = false;
3920
3911
  this.sendTimeout = null;
3921
- this.isSend = false;
3922
3912
  }
3923
3913
 
3924
3914
  /** socket连接 */
@@ -3946,9 +3936,7 @@ var WebSocket = function () {
3946
3936
  // tryTimes定义重置
3947
3937
  _this.connects = 1;
3948
3938
  // 订阅消息
3949
- // if (!this.isSend) {
3950
3939
  _this.subscribe();
3951
- // }
3952
3940
  }, function (error) {
3953
3941
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3954
3942
  if (_this.connects > 5 && diffSecond < _this.interval) {
package/lib/pagination.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 51);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 52);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 51:
195
+ /***/ 52:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/player.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 53);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 54);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -3329,7 +3320,7 @@ module.exports = require("sm-crypto");
3329
3320
 
3330
3321
  /***/ }),
3331
3322
 
3332
- /***/ 18:
3323
+ /***/ 19:
3333
3324
  /***/ (function(module, exports) {
3334
3325
 
3335
3326
  module.exports = require("video.js");
@@ -3343,14 +3334,14 @@ module.exports = require("eoss-element");
3343
3334
 
3344
3335
  /***/ }),
3345
3336
 
3346
- /***/ 22:
3337
+ /***/ 23:
3347
3338
  /***/ (function(module, exports) {
3348
3339
 
3349
3340
  module.exports = require("video.js/dist/lang/zh-CN.json");
3350
3341
 
3351
3342
  /***/ }),
3352
3343
 
3353
- /***/ 26:
3344
+ /***/ 27:
3354
3345
  /***/ (function(module, exports) {
3355
3346
 
3356
3347
  module.exports = require("video.js/dist/video-js.css");
@@ -3476,7 +3467,7 @@ module.exports = require("axios");
3476
3467
 
3477
3468
  /***/ }),
3478
3469
 
3479
- /***/ 53:
3470
+ /***/ 54:
3480
3471
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3481
3472
 
3482
3473
  "use strict";
@@ -3504,15 +3495,15 @@ render._withStripped = true
3504
3495
  // CONCATENATED MODULE: ./packages/player/src/main.vue?vue&type=template&id=29c1659e&
3505
3496
 
3506
3497
  // EXTERNAL MODULE: external "video.js"
3507
- var external_video_js_ = __webpack_require__(18);
3498
+ var external_video_js_ = __webpack_require__(19);
3508
3499
  var external_video_js_default = /*#__PURE__*/__webpack_require__.n(external_video_js_);
3509
3500
 
3510
3501
  // EXTERNAL MODULE: external "video.js/dist/lang/zh-CN.json"
3511
- var zh_CN_json_ = __webpack_require__(22);
3502
+ var zh_CN_json_ = __webpack_require__(23);
3512
3503
  var zh_CN_json_default = /*#__PURE__*/__webpack_require__.n(zh_CN_json_);
3513
3504
 
3514
3505
  // EXTERNAL MODULE: external "video.js/dist/video-js.css"
3515
- var video_js_css_ = __webpack_require__(26);
3506
+ var video_js_css_ = __webpack_require__(27);
3516
3507
 
3517
3508
  // EXTERNAL MODULE: ./src/utils/util.js
3518
3509
  var util = __webpack_require__(0);
@@ -3786,7 +3777,6 @@ var WebSocket = function () {
3786
3777
  this.connects = 1;
3787
3778
  this.recon = false;
3788
3779
  this.sendTimeout = null;
3789
- this.isSend = false;
3790
3780
  }
3791
3781
 
3792
3782
  /** socket连接 */
@@ -3814,9 +3804,7 @@ var WebSocket = function () {
3814
3804
  // tryTimes定义重置
3815
3805
  _this.connects = 1;
3816
3806
  // 订阅消息
3817
- // if (!this.isSend) {
3818
3807
  _this.subscribe();
3819
- // }
3820
3808
  }, function (error) {
3821
3809
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3822
3810
  if (_this.connects > 5 && diffSecond < _this.interval) {
package/lib/qr-code.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 54);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 55);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -3336,7 +3327,7 @@ module.exports = require("eoss-element");
3336
3327
 
3337
3328
  /***/ }),
3338
3329
 
3339
- /***/ 27:
3330
+ /***/ 28:
3340
3331
  /***/ (function(module, exports) {
3341
3332
 
3342
3333
  module.exports = require("qrcode");
@@ -3462,7 +3453,7 @@ module.exports = require("axios");
3462
3453
 
3463
3454
  /***/ }),
3464
3455
 
3465
- /***/ 54:
3456
+ /***/ 55:
3466
3457
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3467
3458
 
3468
3459
  "use strict";
@@ -3535,7 +3526,7 @@ var util = __webpack_require__(0);
3535
3526
  //
3536
3527
 
3537
3528
 
3538
- var QRCode = __webpack_require__(27);
3529
+ var QRCode = __webpack_require__(28);
3539
3530
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
3540
3531
  name: 'EsQrCode',
3541
3532
  props: {
@@ -3742,7 +3733,6 @@ var WebSocket = function () {
3742
3733
  this.connects = 1;
3743
3734
  this.recon = false;
3744
3735
  this.sendTimeout = null;
3745
- this.isSend = false;
3746
3736
  }
3747
3737
 
3748
3738
  /** socket连接 */
@@ -3770,9 +3760,7 @@ var WebSocket = function () {
3770
3760
  // tryTimes定义重置
3771
3761
  _this.connects = 1;
3772
3762
  // 订阅消息
3773
- // if (!this.isSend) {
3774
3763
  _this.subscribe();
3775
- // }
3776
3764
  }, function (error) {
3777
3765
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3778
3766
  if (_this.connects > 5 && diffSecond < _this.interval) {