hcui-package 2.0.3 → 2.0.5

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.
@@ -24,6 +24,9 @@ export const convertArray2TreeData = (
24
24
  }
25
25
  }
26
26
 
27
+ // 给每一层节点添加level属性
28
+ item.level = item[parentKey] ? map.get(item[parentKey]).level + 1 : 0
29
+
27
30
  if (item[parentKey] && map.has(item[parentKey])) {
28
31
  const parent = map.get(item[parentKey])
29
32
  if (!parent[childrenKey]) {
@@ -35107,10 +35107,6 @@ const ree = /* @__PURE__ */ Ge({
35107
35107
  tableMaxHeight: {
35108
35108
  type: Number,
35109
35109
  default: null
35110
- },
35111
- minHeight: {
35112
- type: Number,
35113
- default: 360
35114
35110
  }
35115
35111
  },
35116
35112
  setup(e) {
@@ -35223,11 +35219,10 @@ const ree = /* @__PURE__ */ Ge({
35223
35219
  "row-class-name": t.rowClassName ? t.rowClassName : R,
35224
35220
  "virtual-scroll": t.virtualScroll,
35225
35221
  "max-height": u.value,
35226
- "min-height": t.minHeight,
35227
35222
  "scrollbar-props": {
35228
35223
  trigger: "none"
35229
35224
  }
35230
- }), null, 16, ["remote", "single-line", "columns", "scroll-x", "row-props", "row-class-name", "virtual-scroll", "max-height", "min-height"])) : ot("", !0), g.value ? (ao(), Qr(Ki, {
35225
+ }), null, 16, ["remote", "single-line", "columns", "scroll-x", "row-props", "row-class-name", "virtual-scroll", "max-height"])) : ot("", !0), g.value ? (ao(), Qr(Ki, {
35231
35226
  key: 2,
35232
35227
  to: b.value
35233
35228
  }, [no("div", oK, [rd(w.$slots, "bottom")])], 8, ["to"])) : ot("", !0), Wn(zF, Ur({