tx-sider 2.3.28 → 2.3.29
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 +11 -2
- package/lib/TXUI.umd.js +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -54476,8 +54476,17 @@ function useCcflowCall() {
|
|
|
54476
54476
|
(_b2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b2.userId
|
|
54477
54477
|
);
|
|
54478
54478
|
});
|
|
54479
|
-
if (connection.value.state !== HubConnectionState.Connected)
|
|
54480
|
-
|
|
54479
|
+
if (connection.value.state !== HubConnectionState.Connected) {
|
|
54480
|
+
connection.value.start().then(async () => {
|
|
54481
|
+
var _a2, _b2;
|
|
54482
|
+
console.log("启动即时通信成功");
|
|
54483
|
+
await connection.value.invoke(
|
|
54484
|
+
"NewVersion",
|
|
54485
|
+
(_a2 = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a2.location,
|
|
54486
|
+
(_b2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b2.userId
|
|
54487
|
+
);
|
|
54488
|
+
});
|
|
54489
|
+
}
|
|
54481
54490
|
};
|
|
54482
54491
|
const onClickTodo = () => {
|
|
54483
54492
|
const md2 = localStorage.getItem("loginForm");
|