tx-sider 2.3.17 → 2.3.18

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,
@@ -55267,10 +55267,15 @@ const _sfc_main = {
55267
55267
  watch(
55268
55268
  () => ccflowData.messageList,
55269
55269
  async (newVal) => {
55270
- var _a3;
55270
+ var _a3, _b2;
55271
55271
  console.log("ccflowData.messageList", ccflowData.messageList);
55272
55272
  console.log("newVal", newVal);
55273
- if (newVal && newVal == ((_a3 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a3.userId)) {
55273
+ console.log(
55274
+ 'JSON.parse(localStorage.getItem("userInfos"))?.userId',
55275
+ (_a3 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a3.userId
55276
+ );
55277
+ if (newVal && newVal == ((_b2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b2.userId)) {
55278
+ console.log("相等");
55274
55279
  await getUnReadMessage();
55275
55280
  }
55276
55281
  },
@@ -55422,7 +55427,7 @@ const _sfc_main = {
55422
55427
  };
55423
55428
  }
55424
55429
  };
55425
- const _withScopeId = (n10) => (pushScopeId("data-v-62f6ac75"), n10 = n10(), popScopeId(), n10);
55430
+ const _withScopeId = (n10) => (pushScopeId("data-v-60046590"), n10 = n10(), popScopeId(), n10);
55426
55431
  const _hoisted_1 = {
55427
55432
  class: "bg-white defaultTS funcTC relative",
55428
55433
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -56579,7 +56584,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56579
56584
  }, 8, ["show"])
56580
56585
  ], 64);
56581
56586
  }
56582
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-62f6ac75"]]);
56587
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-60046590"]]);
56583
56588
  const style = "";
56584
56589
  const components = [TSider];
56585
56590
  installComponents();