tx-sider 2.1.62 → 2.1.64

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
@@ -30087,7 +30087,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30087
30087
  function cancel() {
30088
30088
  console.log("11111111111111111111111111");
30089
30089
  emit("cancelHandle", false);
30090
- emit("update:show", false);
30091
30090
  }
30092
30091
  return (_ctx, _cache) => {
30093
30092
  const _component_close_circle_outlined = resolveComponent("close-circle-outlined");
@@ -34544,10 +34543,10 @@ var axiosExports = axios$3.exports;
34544
34543
  var axios = axiosExports;
34545
34544
  const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
34546
34545
  const routes = [
34547
- {
34548
- path: "/",
34549
- component: TSider
34550
- }
34546
+ // {
34547
+ // path: "/",
34548
+ // component: TSider,
34549
+ // },
34551
34550
  ];
34552
34551
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34553
34552
  __proto__: null,
@@ -37681,7 +37680,7 @@ const getMaxVersion = (moduleType) => {
37681
37680
  });
37682
37681
  };
37683
37682
  const ModuleVersionModal_vue_vue_type_style_index_0_scoped_true_lang = "";
37684
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-1036d24a"), n2 = n2(), popScopeId(), n2);
37683
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-1e406f1b"), n2 = n2(), popScopeId(), n2);
37685
37684
  const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
37686
37685
  const _hoisted_2$2 = { class: "relative w-[30px] h-[30px]" };
37687
37686
  const _hoisted_3$2 = {
@@ -37836,6 +37835,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37836
37835
  await ModuleTypeListGetApi();
37837
37836
  getData();
37838
37837
  });
37838
+ const moduleHandle = () => {
37839
+ console.log("关闭");
37840
+ inputV.value = false;
37841
+ };
37839
37842
  return (_ctx, _cache) => {
37840
37843
  const _component_a_select_option = SelectOption;
37841
37844
  const _component_a_select = __unplugin_components_1;
@@ -37849,6 +37852,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37849
37852
  return openBlock(), createBlock(_component_MrpModal, {
37850
37853
  show: unref(inputV),
37851
37854
  "onUpdate:show": _cache[5] || (_cache[5] = ($event) => isRef(inputV) ? inputV.value = $event : null),
37855
+ onCancelHandle: moduleHandle,
37852
37856
  "remove-padding": false
37853
37857
  }, {
37854
37858
  title: withCtx(() => [
@@ -37969,7 +37973,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37969
37973
  };
37970
37974
  }
37971
37975
  });
37972
- const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-1036d24a"]]);
37976
+ const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-1e406f1b"]]);
37973
37977
  const index$5 = "";
37974
37978
  const index$4 = "";
37975
37979
  const index$3 = "";
@@ -41411,7 +41415,6 @@ function useCcflowCall() {
41411
41415
  ccflowData.todoList = res;
41412
41416
  });
41413
41417
  connection.value.on("MenuNums", (res) => {
41414
- console.log("MenuNums", "获取数据:", res);
41415
41418
  ccflowData.menuNumsList = JSON.parse(res);
41416
41419
  });
41417
41420
  connection.value.on("PublishNewVersion", (res) => {
@@ -41421,14 +41424,14 @@ function useCcflowCall() {
41421
41424
  connection.value.onreconnected(async (id) => {
41422
41425
  await connection.value.invoke("Start");
41423
41426
  await connection.value.invoke("MenuNums");
41424
- await connection.value.invoke("NewVersion");
41427
+ await connection.value.invoke("NewVersion", "ZC", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
41425
41428
  });
41426
41429
  if (connection.value.state !== HubConnectionState.Connected) {
41427
41430
  connection.value.start().then(async () => {
41428
41431
  console.log("启动即时通信成功");
41429
41432
  await connection.value.invoke("Start");
41430
41433
  await connection.value.invoke("MenuNums");
41431
- await connection.value.invoke("NewVersion");
41434
+ await connection.value.invoke("NewVersion", "ZC", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
41432
41435
  });
41433
41436
  }
41434
41437
  };
@@ -42232,7 +42235,7 @@ const _sfc_main = {
42232
42235
  };
42233
42236
  }
42234
42237
  };
42235
- const _withScopeId = (n2) => (pushScopeId("data-v-90fb116a"), n2 = n2(), popScopeId(), n2);
42238
+ const _withScopeId = (n2) => (pushScopeId("data-v-21939414"), n2 = n2(), popScopeId(), n2);
42236
42239
  const _hoisted_1 = {
42237
42240
  class: "bg-white defaultTS funcTC relative",
42238
42241
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -42676,7 +42679,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
42676
42679
  ])
42677
42680
  ]),
42678
42681
  createElementVNode("div", _hoisted_11, [
42679
- createTextVNode(toDisplayString($setup.ccflowData.newVersionList) + " ", 1),
42680
42682
  createVNode(_component_a_badge, {
42681
42683
  onClick: $setup.onClickTodo,
42682
42684
  count: $setup.ccflowData.todoList,
@@ -43206,7 +43208,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
43206
43208
  }, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true)
43207
43209
  ], 64);
43208
43210
  }
43209
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-90fb116a"]]);
43211
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-21939414"]]);
43210
43212
  const components = [TSider];
43211
43213
  installComponents();
43212
43214
  function installComponents() {