tx-sider 2.2.3 → 2.2.4

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
@@ -34554,10 +34554,10 @@ var axiosExports = axios$3.exports;
34554
34554
  var axios = axiosExports;
34555
34555
  const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
34556
34556
  const routes = [
34557
- {
34558
- path: "/",
34559
- component: TSider
34560
- }
34557
+ // {
34558
+ // path: "/",
34559
+ // component: TSider,
34560
+ // },
34561
34561
  ];
34562
34562
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34563
34563
  __proto__: null,
@@ -41397,16 +41397,18 @@ function useCcflowCall() {
41397
41397
  ccflowData.newVersionList = res;
41398
41398
  });
41399
41399
  connection.value.onreconnected(async (id) => {
41400
+ var _a, _b;
41400
41401
  await connection.value.invoke("Start");
41401
41402
  await connection.value.invoke("MenuNums");
41402
- await connection.value.invoke("NewVersion", "basis", "308733a8-11ba-ecd1-8169-3a0242754e58");
41403
+ await connection.value.invoke("NewVersion", (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location, (_b = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b.userId);
41403
41404
  });
41404
41405
  if (connection.value.state !== HubConnectionState.Connected) {
41405
41406
  connection.value.start().then(async () => {
41407
+ var _a, _b;
41406
41408
  console.log("启动即时通信成功");
41407
41409
  await connection.value.invoke("Start");
41408
41410
  await connection.value.invoke("MenuNums");
41409
- await connection.value.invoke("NewVersion", "basis", "308733a8-11ba-ecd1-8169-3a0242754e58");
41411
+ await connection.value.invoke("NewVersion", (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location, (_b = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b.userId);
41410
41412
  });
41411
41413
  }
41412
41414
  };