tx-sider 2.3.18 → 2.3.20

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 CHANGED
@@ -22282,10 +22282,10 @@ var axiosExports = axios$3.exports;
22282
22282
  var axios = axiosExports;
22283
22283
  const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
22284
22284
  const routes = [
22285
- {
22286
- path: "/",
22287
- component: TSider
22288
- }
22285
+ // {
22286
+ // path: "/",
22287
+ // component: TSider,
22288
+ // },
22289
22289
  ];
22290
22290
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22291
22291
  __proto__: null,
@@ -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, _c2;
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
  };