tx-sider 2.3.18 → 2.3.19
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/lib/TXUI.mjs +2 -5
- package/lib/TXUI.umd.js +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -54462,6 +54462,7 @@ function useCcflowCall() {
|
|
|
54462
54462
|
});
|
|
54463
54463
|
connection.value.on("GetPersonUnReadCount", (res) => {
|
|
54464
54464
|
console.log("GetPersonUnReadCount", "获取数据:", res);
|
|
54465
|
+
ccflowData.messageList = "";
|
|
54465
54466
|
ccflowData.messageList = res;
|
|
54466
54467
|
});
|
|
54467
54468
|
connection.value.onreconnected(async (id2) => {
|
|
@@ -54476,7 +54477,7 @@ function useCcflowCall() {
|
|
|
54476
54477
|
});
|
|
54477
54478
|
if (connection.value.state !== HubConnectionState.Connected) {
|
|
54478
54479
|
connection.value.start().then(async () => {
|
|
54479
|
-
var _a2, _b2
|
|
54480
|
+
var _a2, _b2;
|
|
54480
54481
|
console.log("启动即时通信成功");
|
|
54481
54482
|
await connection.value.invoke("Start");
|
|
54482
54483
|
await connection.value.invoke("MenuNums");
|
|
@@ -54485,10 +54486,6 @@ function useCcflowCall() {
|
|
|
54485
54486
|
(_a2 = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a2.location,
|
|
54486
54487
|
(_b2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b2.userId
|
|
54487
54488
|
);
|
|
54488
|
-
await connection.value.invoke(
|
|
54489
|
-
"PersonUnReadCount",
|
|
54490
|
-
(_c2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _c2.userId
|
|
54491
|
-
);
|
|
54492
54489
|
});
|
|
54493
54490
|
}
|
|
54494
54491
|
};
|