tx-sider 2.3.4 → 2.3.6

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
@@ -21003,6 +21003,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21003
21003
  removePadding: {
21004
21004
  type: Boolean,
21005
21005
  default: true
21006
+ },
21007
+ isScroll: {
21008
+ type: Boolean,
21009
+ default: true
21006
21010
  }
21007
21011
  },
21008
21012
  emits: ["cancelHandle", "update:show"],
@@ -21028,7 +21032,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21028
21032
  return openBlock(), createBlock(_component_a_modal, {
21029
21033
  wrapClassName: [
21030
21034
  __props.removePadding ? "" : "not-padding",
21031
- "module-class modal-components npm-class"
21035
+ __props.isScroll ? "module-class modal-components npm-class" : "module-class scroll-modal-components npm-class"
21032
21036
  ],
21033
21037
  visible: unref(inputV),
21034
21038
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
@@ -50817,7 +50821,7 @@ const _export_sfc = (sfc, props) => {
50817
50821
  }
50818
50822
  return target;
50819
50823
  };
50820
- const _withScopeId$2 = (n10) => (pushScopeId("data-v-ba7ff152"), n10 = n10(), popScopeId(), n10);
50824
+ const _withScopeId$2 = (n10) => (pushScopeId("data-v-50952b53"), n10 = n10(), popScopeId(), n10);
50821
50825
  const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
50822
50826
  const _hoisted_2$2 = { class: "relative w-[30px] h-[30px]" };
50823
50827
  const _hoisted_3$2 = {
@@ -50891,7 +50895,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50891
50895
  spinning.value = true;
50892
50896
  const res = await GetVersionManageAllList(formData);
50893
50897
  tableData.value = res ?? [];
50894
- content.value = res[0];
50898
+ content.value = res[0] ?? {};
50895
50899
  spinning.value = false;
50896
50900
  };
50897
50901
  const formData = reactive({
@@ -50913,7 +50917,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50913
50917
  });
50914
50918
  const changeTab = (item, i2) => {
50915
50919
  activeKey.value = i2;
50916
- content.value = item;
50920
+ content.value = item ?? {};
50917
50921
  };
50918
50922
  return (_ctx, _cache) => {
50919
50923
  const _component_a_col = __unplugin_components_7;
@@ -50924,7 +50928,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50924
50928
  show: unref(inputV),
50925
50929
  "onUpdate:show": _cache[1] || (_cache[1] = ($event) => isRef(inputV) ? inputV.value = $event : null),
50926
50930
  onCancelHandle: moduleHandle,
50927
- "remove-padding": false
50931
+ "remove-padding": false,
50932
+ isScroll: false
50928
50933
  }, {
50929
50934
  title: withCtx(() => [
50930
50935
  createElementVNode("div", _hoisted_1$2, [
@@ -50993,7 +50998,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50993
50998
  };
50994
50999
  }
50995
51000
  });
50996
- const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ba7ff152"]]);
51001
+ const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-50952b53"]]);
50997
51002
  const index$6 = "";
50998
51003
  const index$5 = "";
50999
51004
  const index$4 = "";