tx-sider 2.3.27 → 2.3.28

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
@@ -54470,25 +54470,14 @@ function useCcflowCall() {
54470
54470
  });
54471
54471
  connection.value.onreconnected(async (id2) => {
54472
54472
  var _a2, _b2;
54473
- await connection.value.invoke("Start");
54474
54473
  await connection.value.invoke(
54475
54474
  "NewVersion",
54476
54475
  (_a2 = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a2.location,
54477
54476
  (_b2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b2.userId
54478
54477
  );
54479
54478
  });
54480
- if (connection.value.state !== HubConnectionState.Connected) {
54481
- connection.value.start().then(async () => {
54482
- var _a2, _b2;
54483
- console.log("启动即时通信成功");
54484
- await connection.value.invoke("Start");
54485
- await connection.value.invoke(
54486
- "NewVersion",
54487
- (_a2 = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a2.location,
54488
- (_b2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b2.userId
54489
- );
54490
- });
54491
- }
54479
+ if (connection.value.state !== HubConnectionState.Connected)
54480
+ ;
54492
54481
  };
54493
54482
  const onClickTodo = () => {
54494
54483
  const md2 = localStorage.getItem("loginForm");
@@ -55447,12 +55436,13 @@ const _sfc_main = {
55447
55436
  content,
55448
55437
  changeTab,
55449
55438
  editorRef,
55450
- unReadCount
55439
+ unReadCount,
55440
+ unLingDangCount
55451
55441
  /*******end*****/
55452
55442
  };
55453
55443
  }
55454
55444
  };
55455
- const _withScopeId = (n10) => (pushScopeId("data-v-9c260332"), n10 = n10(), popScopeId(), n10);
55445
+ const _withScopeId = (n10) => (pushScopeId("data-v-a2934da0"), n10 = n10(), popScopeId(), n10);
55456
55446
  const _hoisted_1 = {
55457
55447
  class: "bg-white defaultTS funcTC relative",
55458
55448
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -55989,7 +55979,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
55989
55979
  }, 8, ["onClick", "count"]),
55990
55980
  createVNode(_component_a_badge, {
55991
55981
  onClick: $setup.onClickTodo,
55992
- count: _ctx.unLingDangCount,
55982
+ count: $setup.unLingDangCount,
55993
55983
  "number-style": {
55994
55984
  backgroundColor: "#52c41a",
55995
55985
  fontSize: "12px",
@@ -56609,7 +56599,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56609
56599
  }, 8, ["show"])
56610
56600
  ], 64);
56611
56601
  }
56612
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9c260332"]]);
56602
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a2934da0"]]);
56613
56603
  const style = "";
56614
56604
  const components = [TSider];
56615
56605
  installComponents();