kucservice 1.2.6 → 1.2.8
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.
- package/dist/kucservice.common.js +4 -3
- package/dist/kucservice.common.js.gz +0 -0
- package/dist/kucservice.common.js.map +1 -1
- package/dist/kucservice.umd.js +4 -3
- package/dist/kucservice.umd.js.gz +0 -0
- package/dist/kucservice.umd.js.map +1 -1
- package/dist/kucservice.umd.min.js +1 -1
- package/dist/kucservice.umd.min.js.gz +0 -0
- package/dist/kucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -10188,12 +10188,13 @@ var common_request_wsClass = /*#__PURE__*/function () {
|
|
|
10188
10188
|
_onClose && _onClose(e);
|
|
10189
10189
|
},
|
|
10190
10190
|
onMessage: function onMessage(e) {
|
|
10191
|
-
|
|
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
|
|
|
10195
|
-
initAction && initAction();
|
|
10196
|
-
return;
|
|
10197
|
+
initAction && initAction(); // return
|
|
10197
10198
|
}
|
|
10198
10199
|
|
|
10199
10200
|
_onMessage && _onMessage(e);
|
|
Binary file
|