tx-sider 2.3.12 → 2.3.13

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,
@@ -54430,6 +54430,7 @@ function useCcflowCall() {
54430
54430
  const hostname2 = window.location.hostname.split(".");
54431
54431
  const protocol2 = window.location.protocol;
54432
54432
  const jumpUrl = process.env.NODE_ENV == "development" ? "https://ccflow.nacho.cn" : `${protocol2}//ccflow.${hostname2[1]}.${hostname2[2]}`;
54433
+ const jumpMsgUrl = process.env.NODE_ENV == "development" ? "https://uc.nacho.cn" : `${protocol2}//uc.${hostname2[1]}.${hostname2[2]}`;
54433
54434
  const connection = ref(null);
54434
54435
  const ccflowData = reactive({
54435
54436
  todoList: 0,
@@ -54443,13 +54444,13 @@ function useCcflowCall() {
54443
54444
  ccflowData.todoList = res;
54444
54445
  });
54445
54446
  connection.value.on("GetPersonUnReadCount", (res) => {
54447
+ console.log("GetPersonUnReadCount", "获取数据:", res);
54446
54448
  ccflowData.messageList = res;
54447
54449
  });
54448
54450
  connection.value.on("MenuNums", (res) => {
54449
54451
  ccflowData.menuNumsList = JSON.parse(res);
54450
54452
  });
54451
54453
  connection.value.on("PublishNewVersion", (res) => {
54452
- console.log("PublishNewVersion", "获取数据:", res);
54453
54454
  ccflowData.newVersionList = res;
54454
54455
  });
54455
54456
  connection.value.onreconnected(async (id2) => {
@@ -54494,7 +54495,7 @@ function useCcflowCall() {
54494
54495
  const onClickMessage = () => {
54495
54496
  const md2 = localStorage.getItem("loginForm");
54496
54497
  window.open(
54497
- `${jumpUrl}/auth?md=${md2}&key=BasisSystem.CCFLOWModule&routerUrl=/personCenterManage/MessageInformList`,
54498
+ `${jumpMsgUrl}/auth?md=${md2}&key=BasisSystem.PersonCenterModule&routerUrl=/personCenterManage/MessageInformList`,
54498
54499
  "_blank"
54499
54500
  );
54500
54501
  };
@@ -55394,7 +55395,7 @@ const _sfc_main = {
55394
55395
  };
55395
55396
  }
55396
55397
  };
55397
- const _withScopeId = (n10) => (pushScopeId("data-v-62784c94"), n10 = n10(), popScopeId(), n10);
55398
+ const _withScopeId = (n10) => (pushScopeId("data-v-760006e6"), n10 = n10(), popScopeId(), n10);
55398
55399
  const _hoisted_1 = {
55399
55400
  class: "bg-white defaultTS funcTC relative",
55400
55401
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -55921,7 +55922,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
55921
55922
  padding: "0 4px"
55922
55923
  },
55923
55924
  class: "w-[20px] h-[20px] cursor-pointer",
55924
- offset: [0, 0]
55925
+ offset: [0, 0],
55926
+ style: { "margin-right": "10px" }
55925
55927
  }, {
55926
55928
  default: withCtx(() => [
55927
55929
  _hoisted_12
@@ -56550,7 +56552,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56550
56552
  }, 8, ["show"])
56551
56553
  ], 64);
56552
56554
  }
56553
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-62784c94"]]);
56555
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-760006e6"]]);
56554
56556
  const style = "";
56555
56557
  const components = [TSider];
56556
56558
  installComponents();