kucservice 1.2.6 → 1.2.7

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.
@@ -10188,7 +10188,9 @@ var common_request_wsClass = /*#__PURE__*/function () {
10188
10188
  _onClose && _onClose(e);
10189
10189
  },
10190
10190
  onMessage: function onMessage(e) {
10191
- if (e.data.indexOf('Back_Login(') === 0) {
10191
+ var data = e.data || e;
10192
+
10193
+ if (data.indexOf('Back_Login(') === 0) {
10192
10194
  // 设置坐席
10193
10195
  _this.config.AgentGroupName && _this.send("SetGroupRole", _this.config.AgentGroupName); // 初始化操作
10194
10196
 
Binary file