eoss-ui 0.5.92 → 0.5.94

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 (84) hide show
  1. package/lib/button-group.js +198 -210
  2. package/lib/button.js +2 -2
  3. package/lib/calendar.js +2 -2
  4. package/lib/card.js +2 -2
  5. package/lib/cascader.js +2 -2
  6. package/lib/checkbox-group.js +3 -2
  7. package/lib/clients.js +2 -2
  8. package/lib/config/image.js +3 -0
  9. package/lib/data-table-form.js +3 -2
  10. package/lib/data-table.js +3 -2
  11. package/lib/date-picker.js +2 -2
  12. package/lib/dialog.js +6 -5
  13. package/lib/enterprise.js +2 -2
  14. package/lib/eoss-ui.common.js +388 -158
  15. package/lib/error-page.js +2 -2
  16. package/lib/flow-group.js +2 -2
  17. package/lib/flow-list.js +4 -4
  18. package/lib/flow.js +6 -5
  19. package/lib/form.js +6 -5
  20. package/lib/handle-user.js +2 -2
  21. package/lib/handler.js +2 -2
  22. package/lib/icon.js +9 -9
  23. package/lib/icons.js +4 -4
  24. package/lib/index.js +1 -1
  25. package/lib/input-number.js +2 -2
  26. package/lib/input.js +2 -2
  27. package/lib/label.js +2 -2
  28. package/lib/layout.js +2 -2
  29. package/lib/login.js +239 -115
  30. package/lib/main.js +153 -24
  31. package/lib/menu.js +2 -2
  32. package/lib/nav.js +2 -2
  33. package/lib/notify.js +2 -2
  34. package/lib/page.js +2 -2
  35. package/lib/pagination.js +2 -2
  36. package/lib/player.js +8 -8
  37. package/lib/qr-code.js +4 -4
  38. package/lib/radio-group.js +2 -2
  39. package/lib/retrial-auth.js +2 -2
  40. package/lib/select-ganged.js +2 -2
  41. package/lib/select.js +2 -2
  42. package/lib/selector-panel.js +6 -5
  43. package/lib/selector.js +11 -11
  44. package/lib/sizer.js +2 -2
  45. package/lib/steps.js +2 -2
  46. package/lib/switch.js +9 -9
  47. package/lib/table-form.js +2 -2
  48. package/lib/tabs-panel.js +2 -2
  49. package/lib/tabs.js +2 -2
  50. package/lib/theme-chalk/base.css +1 -1
  51. package/lib/theme-chalk/index.css +1 -1
  52. package/lib/theme-chalk/main.css +1 -1
  53. package/lib/theme-chalk/menu.css +1 -1
  54. package/lib/theme-chalk/simplicity.css +1 -1
  55. package/lib/theme-chalk/sizer.css +1 -1
  56. package/lib/theme-chalk/upload.css +1 -1
  57. package/lib/tips.js +2 -2
  58. package/lib/toolbar.js +2 -2
  59. package/lib/tree-group.js +2 -2
  60. package/lib/tree.js +2 -2
  61. package/lib/upload.js +13 -12
  62. package/lib/wujie.js +2 -2
  63. package/lib/wxlogin.js +145 -145
  64. package/package.json +1 -1
  65. package/packages/.DS_Store +0 -0
  66. package/packages/form/src/main.vue +1 -1
  67. package/packages/login/.DS_Store +0 -0
  68. package/packages/login/src/main.vue +126 -20
  69. package/packages/main/src/main.vue +113 -3
  70. package/packages/main/src/simplicity/index.vue +1 -1
  71. package/packages/theme-chalk/lib/base.css +1 -1
  72. package/packages/theme-chalk/lib/index.css +1 -1
  73. package/packages/theme-chalk/lib/main.css +1 -1
  74. package/packages/theme-chalk/lib/menu.css +1 -1
  75. package/packages/theme-chalk/lib/simplicity.css +1 -1
  76. package/packages/theme-chalk/lib/sizer.css +1 -1
  77. package/packages/theme-chalk/lib/upload.css +1 -1
  78. package/packages/theme-chalk/src/base.scss +41 -0
  79. package/packages/theme-chalk/src/main.scss +3 -0
  80. package/packages/theme-chalk/src/menu.scss +8 -0
  81. package/packages/upload/src/main.vue +2 -2
  82. package/src/.DS_Store +0 -0
  83. package/src/config/image.js +2 -0
  84. package/src/index.js +1 -1
package/lib/toolbar.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 = 80);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 81);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 80:
195
+ /***/ 81:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/tree-group.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 = 66);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 67);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3764,7 +3764,7 @@ module.exports = require("json-bigint");
3764
3764
 
3765
3765
  /***/ }),
3766
3766
 
3767
- /***/ 66:
3767
+ /***/ 67:
3768
3768
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3769
3769
 
3770
3770
  "use strict";
package/lib/tree.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 = 65);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 66);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3771,7 +3771,7 @@ module.exports = require("json-bigint");
3771
3771
 
3772
3772
  /***/ }),
3773
3773
 
3774
- /***/ 65:
3774
+ /***/ 66:
3775
3775
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3776
3776
 
3777
3777
  "use strict";
package/lib/upload.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 = 35);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 36);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -3954,13 +3954,13 @@ window.__store = store;
3954
3954
  /* 22 */,
3955
3955
  /* 23 */,
3956
3956
  /* 24 */,
3957
- /* 25 */
3957
+ /* 25 */,
3958
+ /* 26 */
3958
3959
  /***/ (function(module, exports) {
3959
3960
 
3960
3961
  module.exports = require("js-base64");
3961
3962
 
3962
3963
  /***/ }),
3963
- /* 26 */,
3964
3964
  /* 27 */,
3965
3965
  /* 28 */,
3966
3966
  /* 29 */,
@@ -3969,15 +3969,16 @@ module.exports = require("js-base64");
3969
3969
  /* 32 */,
3970
3970
  /* 33 */,
3971
3971
  /* 34 */,
3972
- /* 35 */
3972
+ /* 35 */,
3973
+ /* 36 */
3973
3974
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3974
3975
 
3975
3976
  "use strict";
3976
3977
  // ESM COMPAT FLAG
3977
3978
  __webpack_require__.r(__webpack_exports__);
3978
3979
 
3979
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=60e8548b&
3980
- var mainvue_type_template_id_60e8548b_render = function () {
3980
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=12134e47&
3981
+ var mainvue_type_template_id_12134e47_render = function () {
3981
3982
  var _vm = this
3982
3983
  var _h = _vm.$createElement
3983
3984
  var _c = _vm._self._c || _h
@@ -4358,10 +4359,10 @@ var mainvue_type_template_id_60e8548b_render = function () {
4358
4359
  : _vm._e()
4359
4360
  }
4360
4361
  var staticRenderFns = []
4361
- mainvue_type_template_id_60e8548b_render._withStripped = true
4362
+ mainvue_type_template_id_12134e47_render._withStripped = true
4362
4363
 
4363
4364
 
4364
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=60e8548b&
4365
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=12134e47&
4365
4366
 
4366
4367
  // EXTERNAL MODULE: ./src/config/api.js
4367
4368
  var api = __webpack_require__(1);
@@ -4392,7 +4393,7 @@ var util = __webpack_require__(0);
4392
4393
  var store = __webpack_require__(12);
4393
4394
 
4394
4395
  // EXTERNAL MODULE: external "js-base64"
4395
- var external_js_base64_ = __webpack_require__(25);
4396
+ var external_js_base64_ = __webpack_require__(26);
4396
4397
 
4397
4398
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=script&lang=js&
4398
4399
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
@@ -5173,7 +5174,7 @@ var _props;
5173
5174
  suffix = suffix.toLowerCase();
5174
5175
  if (this.dochubConfig.previewDocumentUrl) {
5175
5176
  if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
5176
- this.imgUrl = res.url && util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId);
5177
+ this.imgUrl = res.url && util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.dochubConfig.downloadDocumentUrl + '?documentId=' + file.adjunctId);
5177
5178
  this.title = file.originalName;
5178
5179
  this.showImg = true;
5179
5180
  this.$nextTick(function () {
@@ -5181,7 +5182,7 @@ var _props;
5181
5182
  });
5182
5183
  } else if (suffix.includes('mp4')) {
5183
5184
  this.source = {
5184
- src: this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId)
5185
+ src: this.host + (url ? url : this.dochubConfig.downloadDocumentUrl + '?documentId=' + file.adjunctId)
5185
5186
  };
5186
5187
  this.title = file.originalName;
5187
5188
  this.showVideo = true;
@@ -5506,7 +5507,7 @@ var componentNormalizer = __webpack_require__(3);
5506
5507
 
5507
5508
  var component = Object(componentNormalizer["a" /* default */])(
5508
5509
  src_mainvue_type_script_lang_js_,
5509
- mainvue_type_template_id_60e8548b_render,
5510
+ mainvue_type_template_id_12134e47_render,
5510
5511
  staticRenderFns,
5511
5512
  false,
5512
5513
  null,
package/lib/wujie.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 = 68);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 69);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3764,7 +3764,7 @@ module.exports = require("json-bigint");
3764
3764
 
3765
3765
  /***/ }),
3766
3766
 
3767
- /***/ 68:
3767
+ /***/ 69:
3768
3768
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3769
3769
 
3770
3770
  "use strict";
package/lib/wxlogin.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 = 69);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 70);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -3764,7 +3764,150 @@ module.exports = require("json-bigint");
3764
3764
 
3765
3765
  /***/ }),
3766
3766
 
3767
- /***/ 69:
3767
+ /***/ 7:
3768
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3769
+
3770
+ "use strict";
3771
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
3772
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
3773
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3774
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
3775
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3776
+
3777
+
3778
+
3779
+
3780
+ var WebSocket = function () {
3781
+ // 构造函数
3782
+ function WebSocket() {
3783
+ _classCallCheck(this, WebSocket);
3784
+
3785
+ this.host = sessionStorage.getItem('wshost') || '';
3786
+ this.tryTimes = 1; // 重连次数
3787
+ this.callback = null; // 回调函数
3788
+ this.client = null; // stomp对象
3789
+ this.reconTimeout = null; // 重连延时器
3790
+ this.debug = true; // 调试
3791
+ this.interval = 20; // 重连间隔时间
3792
+ this.vm = null;
3793
+ this.nextDate = 0;
3794
+ this.connects = 1;
3795
+ this.recon = false;
3796
+ this.sendTimeout = null;
3797
+ this.socket = null;
3798
+ this.subscription = null;
3799
+ }
3800
+
3801
+ /** socket连接 */
3802
+
3803
+
3804
+ WebSocket.prototype.connect = function connect() {
3805
+ var _this = this;
3806
+
3807
+ if (!this.client) {
3808
+ // 连接SockJS
3809
+ this.socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url, { timeout: 60000 });
3810
+ this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(this.socket);
3811
+ }
3812
+
3813
+ // 日志不打印
3814
+ if (!this.debug) {
3815
+ this.client.debug = function () {};
3816
+ }
3817
+
3818
+ // 向服务器发起websocket连接
3819
+ this.client.connect({}, function () {
3820
+ _this.recon = true;
3821
+ // tryTimes定义重置
3822
+ _this.connects = 1;
3823
+ // 订阅消息
3824
+ _this.subscribe();
3825
+ }, function (error) {
3826
+ _this.unsubscribe();
3827
+ _this.client = null;
3828
+ var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3829
+ if (_this.connects > 5 && diffSecond < _this.interval) {
3830
+ _this.error && _this.error(error);
3831
+ } else {
3832
+ _this.reconTimeout = setTimeout(function () {
3833
+ _this.connect();
3834
+ _this.connects++;
3835
+ }, 5000);
3836
+ }
3837
+ });
3838
+ }; // 清除订阅
3839
+
3840
+
3841
+ WebSocket.prototype.unsubscribe = function unsubscribe() {
3842
+ if (this.subscription) {
3843
+ this.subscription.unsubscribe();
3844
+ this.subscription = null;
3845
+ }
3846
+ };
3847
+ /** 订阅服务端 */
3848
+
3849
+
3850
+ WebSocket.prototype.subscribe = function subscribe() {
3851
+ var _this2 = this;
3852
+
3853
+ // 订阅服务端提供的某个topic
3854
+ this.subscription = this.client.subscribe(this.take, function (response) {
3855
+ if (response && (_this2.callback || _this2.success)) {
3856
+ var callback = _this2.callback || _this2.success;
3857
+ callback(JSON.parse(response.body));
3858
+ }
3859
+ });
3860
+ };
3861
+
3862
+ /** 赋值、初始化socket */
3863
+
3864
+
3865
+ WebSocket.prototype.init = function init(option, vm) {
3866
+ for (var i in option) {
3867
+ this[i] = option[i];
3868
+ }
3869
+ this.vm = vm;
3870
+ // 初始化连接
3871
+ this.connect();
3872
+ };
3873
+
3874
+ /** 发送消息 */
3875
+
3876
+
3877
+ WebSocket.prototype.send = function send(data) {
3878
+ var _this3 = this;
3879
+
3880
+ if (this.recon) {
3881
+ clearTimeout(this.sendTimeout);
3882
+ this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
3883
+ } else {
3884
+ this.sendTimeout = setTimeout(function () {
3885
+ _this3.send(data);
3886
+ }, 1000);
3887
+ }
3888
+ };
3889
+
3890
+ /** 销毁 */
3891
+
3892
+
3893
+ WebSocket.prototype.destroy = function destroy() {
3894
+ // 断开连接,清除定时器
3895
+ this.unsubscribe();
3896
+ if (this.client) {
3897
+ this.client.disconnect();
3898
+ };
3899
+ this.reconTimeout && clearTimeout(this.reconTimeout);
3900
+ this.sendTimeout && clearTimeout(this.sendTimeout);
3901
+ };
3902
+
3903
+ return WebSocket;
3904
+ }();
3905
+
3906
+ /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
3907
+
3908
+ /***/ }),
3909
+
3910
+ /***/ 70:
3768
3911
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3769
3912
 
3770
3913
  "use strict";
@@ -3969,149 +4112,6 @@ main.install = function (Vue) {
3969
4112
 
3970
4113
  /***/ }),
3971
4114
 
3972
- /***/ 7:
3973
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3974
-
3975
- "use strict";
3976
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
3977
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
3978
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3979
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
3980
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3981
-
3982
-
3983
-
3984
-
3985
- var WebSocket = function () {
3986
- // 构造函数
3987
- function WebSocket() {
3988
- _classCallCheck(this, WebSocket);
3989
-
3990
- this.host = sessionStorage.getItem('wshost') || '';
3991
- this.tryTimes = 1; // 重连次数
3992
- this.callback = null; // 回调函数
3993
- this.client = null; // stomp对象
3994
- this.reconTimeout = null; // 重连延时器
3995
- this.debug = true; // 调试
3996
- this.interval = 20; // 重连间隔时间
3997
- this.vm = null;
3998
- this.nextDate = 0;
3999
- this.connects = 1;
4000
- this.recon = false;
4001
- this.sendTimeout = null;
4002
- this.socket = null;
4003
- this.subscription = null;
4004
- }
4005
-
4006
- /** socket连接 */
4007
-
4008
-
4009
- WebSocket.prototype.connect = function connect() {
4010
- var _this = this;
4011
-
4012
- if (!this.client) {
4013
- // 连接SockJS
4014
- this.socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url, { timeout: 60000 });
4015
- this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(this.socket);
4016
- }
4017
-
4018
- // 日志不打印
4019
- if (!this.debug) {
4020
- this.client.debug = function () {};
4021
- }
4022
-
4023
- // 向服务器发起websocket连接
4024
- this.client.connect({}, function () {
4025
- _this.recon = true;
4026
- // tryTimes定义重置
4027
- _this.connects = 1;
4028
- // 订阅消息
4029
- _this.subscribe();
4030
- }, function (error) {
4031
- _this.unsubscribe();
4032
- _this.client = null;
4033
- var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
4034
- if (_this.connects > 5 && diffSecond < _this.interval) {
4035
- _this.error && _this.error(error);
4036
- } else {
4037
- _this.reconTimeout = setTimeout(function () {
4038
- _this.connect();
4039
- _this.connects++;
4040
- }, 5000);
4041
- }
4042
- });
4043
- }; // 清除订阅
4044
-
4045
-
4046
- WebSocket.prototype.unsubscribe = function unsubscribe() {
4047
- if (this.subscription) {
4048
- this.subscription.unsubscribe();
4049
- this.subscription = null;
4050
- }
4051
- };
4052
- /** 订阅服务端 */
4053
-
4054
-
4055
- WebSocket.prototype.subscribe = function subscribe() {
4056
- var _this2 = this;
4057
-
4058
- // 订阅服务端提供的某个topic
4059
- this.subscription = this.client.subscribe(this.take, function (response) {
4060
- if (response && (_this2.callback || _this2.success)) {
4061
- var callback = _this2.callback || _this2.success;
4062
- callback(JSON.parse(response.body));
4063
- }
4064
- });
4065
- };
4066
-
4067
- /** 赋值、初始化socket */
4068
-
4069
-
4070
- WebSocket.prototype.init = function init(option, vm) {
4071
- for (var i in option) {
4072
- this[i] = option[i];
4073
- }
4074
- this.vm = vm;
4075
- // 初始化连接
4076
- this.connect();
4077
- };
4078
-
4079
- /** 发送消息 */
4080
-
4081
-
4082
- WebSocket.prototype.send = function send(data) {
4083
- var _this3 = this;
4084
-
4085
- if (this.recon) {
4086
- clearTimeout(this.sendTimeout);
4087
- this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
4088
- } else {
4089
- this.sendTimeout = setTimeout(function () {
4090
- _this3.send(data);
4091
- }, 1000);
4092
- }
4093
- };
4094
-
4095
- /** 销毁 */
4096
-
4097
-
4098
- WebSocket.prototype.destroy = function destroy() {
4099
- // 断开连接,清除定时器
4100
- this.unsubscribe();
4101
- if (this.client) {
4102
- this.client.disconnect();
4103
- };
4104
- this.reconTimeout && clearTimeout(this.reconTimeout);
4105
- this.sendTimeout && clearTimeout(this.sendTimeout);
4106
- };
4107
-
4108
- return WebSocket;
4109
- }();
4110
-
4111
- /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
4112
-
4113
- /***/ }),
4114
-
4115
4115
  /***/ 8:
4116
4116
  /***/ (function(module, exports) {
4117
4117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.5.92",
3
+ "version": "0.5.94",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
Binary file
@@ -2731,7 +2731,7 @@ export default {
2731
2731
  this.$refs.esForm &&
2732
2732
  this.$refs.esForm.$el.addEventListener('keyup', this.handleEnter);
2733
2733
  setTimeout(() => {
2734
- this.$refs.scrollbar.update();
2734
+ this.$refs.scrollbar && this.$refs.scrollbar.update();
2735
2735
  }, 3000);
2736
2736
  });
2737
2737
  },
Binary file