tx-sider 2.1.62 → 2.1.63

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");
@@ -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 = "";
@@ -41414,21 +41418,15 @@ function useCcflowCall() {
41414
41418
  console.log("MenuNums", "获取数据:", res);
41415
41419
  ccflowData.menuNumsList = JSON.parse(res);
41416
41420
  });
41417
- connection.value.on("PublishNewVersion", (res) => {
41418
- console.log("PublishNewVersion", "获取数据:", res);
41419
- ccflowData.newVersionList = JSON.parse(res);
41420
- });
41421
41421
  connection.value.onreconnected(async (id) => {
41422
41422
  await connection.value.invoke("Start");
41423
41423
  await connection.value.invoke("MenuNums");
41424
- await connection.value.invoke("NewVersion");
41425
41424
  });
41426
41425
  if (connection.value.state !== HubConnectionState.Connected) {
41427
41426
  connection.value.start().then(async () => {
41428
41427
  console.log("启动即时通信成功");
41429
41428
  await connection.value.invoke("Start");
41430
41429
  await connection.value.invoke("MenuNums");
41431
- await connection.value.invoke("NewVersion");
41432
41430
  });
41433
41431
  }
41434
41432
  };
@@ -42232,7 +42230,7 @@ const _sfc_main = {
42232
42230
  };
42233
42231
  }
42234
42232
  };
42235
- const _withScopeId = (n2) => (pushScopeId("data-v-90fb116a"), n2 = n2(), popScopeId(), n2);
42233
+ const _withScopeId = (n2) => (pushScopeId("data-v-5a45e332"), n2 = n2(), popScopeId(), n2);
42236
42234
  const _hoisted_1 = {
42237
42235
  class: "bg-white defaultTS funcTC relative",
42238
42236
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -42676,7 +42674,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
42676
42674
  ])
42677
42675
  ]),
42678
42676
  createElementVNode("div", _hoisted_11, [
42679
- createTextVNode(toDisplayString($setup.ccflowData.newVersionList) + " ", 1),
42680
42677
  createVNode(_component_a_badge, {
42681
42678
  onClick: $setup.onClickTodo,
42682
42679
  count: $setup.ccflowData.todoList,
@@ -43206,7 +43203,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
43206
43203
  }, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true)
43207
43204
  ], 64);
43208
43205
  }
43209
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-90fb116a"]]);
43206
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5a45e332"]]);
43210
43207
  const components = [TSider];
43211
43208
  installComponents();
43212
43209
  function installComponents() {